Skip to content

Comments

fix: prevent info panel from overflowing screen on mobile#182

Open
jfversluis wants to merge 1 commit intomainfrom
fix/mobile-info-panel-overflow
Open

fix: prevent info panel from overflowing screen on mobile#182
jfversluis wants to merge 1 commit intomainfrom
fix/mobile-info-panel-overflow

Conversation

@jfversluis
Copy link
Collaborator

Problem

The info button popover (ℹ️) on both Settings and the expanded session view runs off the screen on mobile devices. The panel uses position: absolute with no viewport constraints.

Fix

Added to both .info-panel CSS rules:

  • max-width: calc(100vw - 2rem) — keeps the panel within the viewport width
  • max-height: 70vh + overflow-y: auto — prevents vertical overflow and enables scrolling

2 CSS files changed, 3 lines each.

The info popover panel used position: absolute with no viewport
constraints, causing it to extend beyond the screen edge on mobile.

Added max-width: calc(100vw - 2rem) and max-height: 70vh with
overflow-y: auto to both info panels (Settings and ExpandedSessionView).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant