mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 00:22:59 +05:30
fix nav border
This commit is contained in:
parent
42f32da4d6
commit
e9a91e990b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user