Hide the selected-session action bar on smaller screens#45
Merged
Conversation
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>
There was a problem hiding this comment.
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: 980pxmedia query to hide.session-actionson smaller screens. - Document rationale inline in
public/app.css.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.Pure CSS, hot-reloads, reversible. Verified live:
display:noneat 900px,display:flexat 1600px.🤖 Generated with Claude Code