diff --git a/src/app.css b/src/app.css index ae198f34..18017864 100644 --- a/src/app.css +++ b/src/app.css @@ -245,6 +245,30 @@ @apply content-sizing content-padding-x content-padding-y; } +@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 800px) { + .compact-landscape-hidden { + display: none !important; + } + + .compact-landscape-flex { + display: flex !important; + } + + .cw, + .cw-full { + left: 0 !important; + width: 100% !important; + } + + .cb { + bottom: calc(var(--saib) + 3.5rem) !important; + } + + [data-component="Page"] { + margin-bottom: 3.5rem !important; + } +} + .heading { @apply text-center text-2xl; } diff --git a/src/app/components/PrimaryNav.svelte b/src/app/components/PrimaryNav.svelte index 2d2c749f..746fea0f 100644 --- a/src/app/components/PrimaryNav.svelte +++ b/src/app/components/PrimaryNav.svelte @@ -29,47 +29,51 @@ const anySpaceNotifications = $derived($userSpaceUrls.some(p => $notifications.has(p))) -