diff --git a/nuxt/components/Molecules/Header.vue b/nuxt/components/Molecules/Header.vue
index 74bf3ae..7814818 100644
--- a/nuxt/components/Molecules/Header.vue
+++ b/nuxt/components/Molecules/Header.vue
@@ -2,7 +2,7 @@
-
+
@@ -63,6 +63,20 @@ onMounted(() => {
width: 100%;
z-index: 10;
+ .home {
+ grid-area: home;
+ }
+
+ .close {
+ grid-area: action;
+ }
+
+ .title {
+ grid-area: title;
+ display: flex;
+ justify-content: center;
+ }
+
&.dark-mode {
background-color: var(--inverse-background-color);
color: var(--inverse-text-color);
@@ -74,20 +88,6 @@ onMounted(() => {
}
}
-.home {
- grid-area: home;
-}
-
-.close {
- grid-area: action;
-}
-
-.title {
- grid-area: title;
- display: flex;
- justify-content: center;
-}
-
@include sm-screen-down {
.base {
grid-template-rows: repeat(2, 1fr);
@@ -95,16 +95,16 @@ onMounted(() => {
grid-template-areas:
'home action'
'title title';
- }
- .home {
- justify-self: flex-start;
- margin-inline: var(--space-4);
- }
+ .home {
+ justify-self: flex-start;
+ margin-inline: var(--space-4);
+ }
- .close {
- justify-self: flex-end;
- margin-inline: var(--space-4);
+ .close {
+ justify-self: flex-end;
+ margin-inline: var(--space-4);
+ }
}
}