From 2aaf1bd81904ef7070d76cd8992bbbe52864db11 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Thu, 27 Jul 2023 10:28:16 +0600 Subject: [PATCH] closed issue #20 --- assets/scss/navigation.scss | 8 +++---- layouts/partials/essentials/header.html | 31 ++++++++++--------------- 2 files changed, 16 insertions(+), 23 deletions(-) diff --git a/assets/scss/navigation.scss b/assets/scss/navigation.scss index de30321..ba8854f 100755 --- a/assets/scss/navigation.scss +++ b/assets/scss/navigation.scss @@ -1,14 +1,14 @@ // navbar toggler -input#nav-toggle:checked ~ label#show-button { +input#nav-toggle:checked + label #show-button { @apply hidden; } -input#nav-toggle:checked ~ label#hide-button { - @apply flex lg:hidden; +input#nav-toggle:checked + label #hide-button { + @apply block; } input#nav-toggle:checked ~ #nav-menu { - @apply block lg:flex; + @apply block; } .header { diff --git a/layouts/partials/essentials/header.html b/layouts/partials/essentials/header.html index f1c3269..17ecdf9 100755 --- a/layouts/partials/essentials/header.html +++ b/layouts/partials/essentials/header.html @@ -12,31 +12,24 @@