From 5dd44d37e40b855caf01049d31bfd7d182f17b2c Mon Sep 17 00:00:00 2001
From: alexanderdavide <alexeble1998@gmail.com>
Date: Sun, 13 Feb 2022 16:55:15 +0000
Subject: [PATCH] refactor: move theme includes below

---
 assets/scss/partials/layout/_nav.scss |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/assets/scss/partials/layout/_nav.scss b/assets/scss/partials/layout/_nav.scss
index dec780c..b123938 100644
--- a/assets/scss/partials/layout/_nav.scss
+++ b/assets/scss/partials/layout/_nav.scss
@@ -2,14 +2,15 @@
   display: none;
 
   &__list {
-    @include themed() {
-      background-color: t('primary-lighter');
-    }
     margin: 0;
     list-style: none;
     padding: 0;
     width: 100%;
 
+    @include themed() {
+      background-color: t('primary-lighter');
+    }
+
     &-item {
       line-height: 2.5;
       padding: 0.5rem 0.75rem;
@@ -24,12 +25,12 @@
 
   &__link {
     &--active {
+      padding-bottom: 22px;
+
       @include desktop {
         @include themed() {
           border-bottom: 1px solid t('primary');
         }
-
-        padding-bottom: 22px;
       }
     }
   }
@@ -47,10 +48,11 @@
     box-shadow: none;
 
     &__list {
+      display: flex;
+
       @include themed() {
         background-color: t('accent');
       }
-      display: flex;
 
       &-item {
         &:not(:last-child) {

--
Gitblit v1.10.0