mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-16 05:03:05 +05:30
fix nav border
This commit is contained in:
parent
42f32da4d6
commit
e9a91e990b
@ -57,8 +57,9 @@
|
||||
<svelte:window bind:innerWidth />
|
||||
|
||||
<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:noJSNav={typeof Window === "undefined"}
|
||||
>
|
||||
<div class="flex flex-row items-center justify-between">
|
||||
<a
|
||||
@ -155,6 +156,10 @@
|
||||
@apply sticky top-0 z-50;
|
||||
}
|
||||
|
||||
.noJSNav {
|
||||
@apply border-b border-b-solid border-b-grey;
|
||||
}
|
||||
|
||||
@media (min-width: 1030px) {
|
||||
.hasJS {
|
||||
flex-direction: row;
|
||||
|
Loading…
Reference in New Issue
Block a user