fix nav border

This commit is contained in:
Akis 2023-01-05 19:25:25 +02:00
parent 42f32da4d6
commit e9a91e990b
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -57,8 +57,9 @@
<svelte:window bind:innerWidth /> <svelte:window bind:innerWidth />
<nav <nav
class="bg-primary {menuOpenMobile ? "" : "border-b border-b-solid border-b-grey"} flex p-2 flex-col justify-between nav:(flex-row items-center)" class="bg-primary {menuOpenMobile ? "border-none" : "border-b border-b-solid border-b-grey"} flex p-2 flex-col justify-between nav:(flex-row items-center)"
class:hasJSNav={typeof Window !== "undefined"} class:hasJSNav={typeof Window !== "undefined"}
class:noJSNav={typeof Window === "undefined"}
> >
<div class="flex flex-row items-center justify-between"> <div class="flex flex-row items-center justify-between">
<a <a
@ -155,6 +156,10 @@
@apply sticky top-0 z-50; @apply sticky top-0 z-50;
} }
.noJSNav {
@apply border-b border-b-solid border-b-grey;
}
@media (min-width: 1030px) { @media (min-width: 1030px) {
.hasJS { .hasJS {
flex-direction: row; flex-direction: row;