mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6941] [MERGED] fix(ui): make mobile topbar a compact desktop-style bar #7395
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6941
Author: @Gunterlie
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/1/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/mobile-topbar-alignment📝 Commits (2)
2c836bcfix(ui): make mobile topbar a compact desktop-style bar8e3a33atest(ui): keep topbar sizing assertion inside the phone breakpoint📊 Changes
4 files changed (+25 additions, -3 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/client/src/components/layout/TopBar.tsx(+3 -3)📝
packages/client/src/styles/globals.css(+13 -0)📝
scripts/regressions/music-dj-and-floating-ui.regression.ts(+7 -0)📄 Description
Linked issue
No linked issue yet (maintainer-requested UI fix; an issue can be opened if needed).
Why this change
On phones, every visible top-bar control (Home, Chats, the overflow menu) stretched with
flex: 1 1 0, so the three icons were spread unevenly across the whole bar with a large hole in the middle, and the active background became a wide bar. The mobile top bar should look like a small version of the desktop one.What changed
max-width: 639px): top-bar buttons have a fixed3.5rem × 2.25remsize (wide, finger-sized, inside the unchanged 48 px bar) with an0.5remgap, matching the desktop button style (rounded active background + short underline).ml-auto.Menu) instead of three dots.sm:hidden.music-dj-and-floating-uiregression pins the menu icon, right alignment, and fixed phone button size.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks:
pnpm exec tsx scripts/regressions/music-dj-and-floating-ui.regression.tspasses; Prettier check on touched TS files;git diff --check. Fullpnpm checkwas not run locally — relying on CI.Manual verification notes
Agent took Playwright screenshots on a local dev instance (dark theme): at 390 px and 360 px, Home (60×38) and Chats (60×38) sit at the left and the hamburger at the right; the open menu shows the same active background. At 1440 px the desktop top bar is unchanged (34×34 buttons).
To verify by hand:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG
[Unreleased]entry added. No docs changes.UI evidence (if applicable)
Screenshots to be attached (390 px before/after, menu open, 1440 px desktop).
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.