mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
fix(mobile): tighten repo header actions and hide empty reports inbox
Group the back button with the title so the repo name truncates instead of colliding with actions, unify the mobile header buttons to 40px ghost icons, collapse the reports inbox when nothing is unread, and let Header.Title truncate on every page.
This commit is contained in:
1 parent
e42ce1bd56
commit
fbdc14b408
6 files changed
+39
-16
No files matched your search
@@ -40,7 +40,7 @@ function HeaderTitle({ children, logo, className }: HeaderTitleProps) {
|
||||
const theme = useTheme();
|
||||
|
||||
return (
|
||||
<div className={cn("flex items-center gap-2", className)}>
|
||||
<div className={cn("flex min-w-0 items-center gap-2", className)}>
|
||||
{logo && typeof children === "string" && children === "OpenCode" ? (
|
||||
<img
|
||||
src={theme === 'light' ? "/opencode-wordmark-light.svg" : "/opencode-wordmark-dark.svg"}
|
||||
|
||||
Reference in new issue
Block a user