feat(web): make Web UI responsive for mobile#9228
Merged
teknium1 merged 1 commit intoApr 14, 2026
Merged
Conversation
- Nav: icons only on mobile, icon+label on sm+ - Brand: abbreviated "H A" on mobile, full "Hermes Agent" on sm+ - Content: reduced padding on mobile (px-3 vs px-6) - StatusPage: session cards stack vertically on mobile, truncate overflow text, strip model namespace for brevity - ConfigPage: sidebar becomes horizontal scrollable pills on mobile instead of fixed left column, search hidden on mobile - SessionsPage: title + search stack vertically on mobile, search goes full-width - Card component: add overflow-hidden to prevent content bleed - Body/root: add overflow-x-hidden to prevent horizontal scroll - Footer: reduced font sizes on mobile All changes use Tailwind responsive breakpoints (sm: prefix). No logic changes — purely layout/CSS adjustments.
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.
What does this PR do?
Makes the Hermes Agent Web UI responsive and usable on mobile devices. Currently the layout breaks on screens under ~640px — nav text overflows, session cards crumble, and the ConfigPage sidebar doesn't collapse.
All changes use Tailwind's
sm:breakpoint prefix with no logic changes.Related Issue
N/A
Type of Change
Changes Made
web/src/App.tsx— Nav shows icons only on mobile (icon+label on sm+), brand abbreviated to "H A", reduced content padding, footer font sizes scaled downweb/src/index.css— Addoverflow-x: hiddentohtml, bodyto prevent horizontal scrollweb/src/components/ui/card.tsx— Addoverflow-hidden w-fullto prevent content bleed past card bordersweb/src/pages/StatusPage.tsx— Session cards stack vertically on mobile, truncate overflow text, strip model namespace (xiaomi/mimo-v2-pro→mimo-v2-pro), addw-fullto inner containersweb/src/pages/ConfigPage.tsx— Sidebar becomes horizontal scrollable category pills on mobile instead of fixed left column, search input hidden on mobileweb/src/pages/SessionsPage.tsx— Title + search bar stack vertically on mobile, search goes full-width on small screensHow to Test
cd web && npm install && npm run build— confirm build succeedsChecklist
Code
npm run buildand the build succeedsDocumentation & Housekeeping
cli-config.yaml.example— or N/ACONTRIBUTING.mdorAGENTS.md— or N/AScreenshots
Before: session cards overflow horizontally, nav text crowds on mobile.
After: clean icon-only nav, cards stack vertically with proper truncation, content fits screen width.