Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

Fixes #42


PR created automatically by Jules for task 13537564045143954727

The radio button control panel (`#learningSelectionPanel`) now automatically closes on narrow screens (less than 768px wide) to avoid obscuring the page content. On wider screens, it remains open by default.

This is achieved by:
- A new `handleLearningPanelVisibility` function that toggles the `open` attribute of the `<details>` element based on `window.innerWidth`.
- Calling this function on initial page load and on window resize to ensure the panel's state is always correct.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll acknowledge your comments with a 👀 emoji and then get to work. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

I will automatically address your feedback. For any comments you don't want me to act on, just include (aside).



For security, I will only act on instructions from the user who triggered this task for this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

查詞个 radio button 控制面板,應該愛自動關忒(最少狹螢幕時節)

1 participant