App: pomniejszenie paska tytulu i hamburgera na mobilce (34px, tekst 0.95rem)
This commit is contained in:
@@ -134,7 +134,7 @@ export function Topbar({ onMenuOpen }: { onMenuOpen?: () => void }) {
|
||||
<div className="safe-pad-top mx-auto max-w-5xl px-4 max-md:sticky max-md:top-0 max-md:z-20 md:px-8">
|
||||
<div className="flex items-center justify-between gap-3 py-2.5 md:py-3 max-md:justify-end">
|
||||
{/* telefon: otoczka tytułu na szerokość napisu, przylega do prawej (przy hamburgerze) */}
|
||||
<h1 className="min-w-0 truncate rounded-2xl text-[1.15rem] font-bold tracking-[-0.01em] max-md:-mb-[7px] max-md:-mt-[7px] max-md:flex max-md:h-[38px] max-md:max-w-[60vw] max-md:items-center max-md:border max-md:border-line/60 max-md:bg-bg/72 max-md:px-3.5 max-md:text-[1rem] max-md:shadow-[0_8px_24px_-10px_rgba(0,0,0,0.55)] max-md:backdrop-blur-md md:flex-none">
|
||||
<h1 className="min-w-0 truncate rounded-2xl text-[1.15rem] font-bold tracking-[-0.01em] max-md:-mb-[7px] max-md:-mt-[7px] max-md:flex max-md:h-[34px] max-md:max-w-[60vw] max-md:items-center max-md:border max-md:border-line/60 max-md:bg-bg/72 max-md:px-3 max-md:text-[0.95rem] max-md:shadow-[0_8px_24px_-10px_rgba(0,0,0,0.55)] max-md:backdrop-blur-md md:flex-none">
|
||||
{config?.title}
|
||||
</h1>
|
||||
{/* telefon: hamburger pływający po prawej (ta sama wysokość co tytuł);
|
||||
@@ -144,7 +144,7 @@ export function Topbar({ onMenuOpen }: { onMenuOpen?: () => void }) {
|
||||
type="button"
|
||||
onClick={onMenuOpen}
|
||||
aria-label="Otwórz menu"
|
||||
className="grid h-[34px] w-[34px] flex-none cursor-pointer place-items-center rounded-[10px] border border-line bg-card text-dim shadow-card transition-colors hover:text-ink max-md:h-[38px] max-md:w-[38px] md:hidden"
|
||||
className="grid h-[34px] w-[34px] flex-none cursor-pointer place-items-center rounded-[10px] border border-line bg-card text-dim shadow-card transition-colors hover:text-ink md:hidden"
|
||||
>
|
||||
<Menu className="h-4 w-4" />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user