Skip to content

Hide the selected-session action bar on smaller screens#45

Merged
falkoro merged 1 commit into
masterfrom
feat/hide-session-bar-small-screens
Jun 5, 2026
Merged

Hide the selected-session action bar on smaller screens#45
falkoro merged 1 commit into
masterfrom
feat/hide-session-bar-small-screens

Conversation

@falkoro
Copy link
Copy Markdown
Owner

@falkoro falkoro commented Jun 5, 2026

The selected-session action bar (badge + Create/Stop/Restart/Attach, #sessionActions) duplicates the selected card's header and ate a whole row on small screens.

  • Hidden ≤980px (where space is tight). One CSS media query.
  • Kept on desktop — it's the only home for Restart / Create / Attach (Stop is also on each card's ⋯ menu), so removing it everywhere would silently drop those controls.

Pure CSS, hot-reloads, reversible. Verified live: display:none at 900px, display:flex at 1600px.

🤖 Generated with Claude Code

The badge + Create/Stop/Restart/Attach bar duplicates the selected
card's header and ate a whole row on small screens. Hide it ≤980px,
where space is tight. It stays on desktop — the only home for
Restart/Create/Attach (Stop is also on each card's ⋯ menu).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 5, 2026 18:50
@falkoro falkoro merged commit 88db196 into master Jun 5, 2026
@falkoro falkoro deleted the feat/hide-session-bar-small-screens branch June 5, 2026 18:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts responsive layout to reduce vertical space usage on narrower viewports by hiding the “selected-session” action bar.

Changes:

  • Add a max-width: 980px media query to hide .session-actions on smaller screens.
  • Document rationale inline in public/app.css.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread public/app.css
Comment on lines +717 to +720
/* The selected-session action bar (badge + Create/Stop/Restart/Attach) duplicates the
selected card's header and ate a whole row on smaller screens — hide it there. It stays
on desktop, the only home for Restart / Create / Attach (Stop is also on each card's ⋯ menu). */
@media (max-width:980px){.session-actions{display:none}}
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.

2 participants