diff --git a/src/app.css b/src/app.css index ae198f34..ebd893bc 100644 --- a/src/app.css +++ b/src/app.css @@ -245,6 +245,20 @@ @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; + } + + .cw { + @apply left-[15rem] w-[calc(100%-15rem-var(--sair))]; + } + + .cw-full { + @apply left-0 w-[calc(100%-var(--sair))]; + } +} + .heading { @apply text-center text-2xl; } diff --git a/src/app/components/PrimaryNav.svelte b/src/app/components/PrimaryNav.svelte index c17ad236..2a0689aa 100644 --- a/src/app/components/PrimaryNav.svelte +++ b/src/app/components/PrimaryNav.svelte @@ -32,7 +32,7 @@