@sofidevo/astro-dynamic-header 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Header.astro +1 -1
- package/src/MobileNav.astro +1 -2
- package/src/NavMenu.astro +5 -6
package/package.json
CHANGED
package/src/Header.astro
CHANGED
package/src/MobileNav.astro
CHANGED
package/src/NavMenu.astro
CHANGED
|
@@ -190,7 +190,6 @@ const pagePathname = Astro.url.pathname;
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.menu {
|
|
193
|
-
padding: 1rem;
|
|
194
193
|
list-style: none;
|
|
195
194
|
display: flex;
|
|
196
195
|
align-items: center;
|
|
@@ -203,7 +202,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
203
202
|
|
|
204
203
|
.menu__link {
|
|
205
204
|
text-decoration: none;
|
|
206
|
-
padding: 0.5rem
|
|
205
|
+
padding: 0.5rem ;
|
|
207
206
|
display: flex;
|
|
208
207
|
align-items: center;
|
|
209
208
|
gap: 0.8rem;
|
|
@@ -214,7 +213,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
214
213
|
@media screen and (min-width: 768px) {
|
|
215
214
|
.menu__link::after {
|
|
216
215
|
position: absolute;
|
|
217
|
-
top:
|
|
216
|
+
top: 33px;
|
|
218
217
|
left: 0;
|
|
219
218
|
content: "";
|
|
220
219
|
width: 100%;
|
|
@@ -265,7 +264,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
265
264
|
justify-content: space-between;
|
|
266
265
|
align-items: center;
|
|
267
266
|
width: 100%;
|
|
268
|
-
height:
|
|
267
|
+
height: 1rem;
|
|
269
268
|
border-radius: 0.4rem;
|
|
270
269
|
color: #fff;
|
|
271
270
|
color: var(--color-tertiary, #fff);
|
|
@@ -278,7 +277,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
278
277
|
|
|
279
278
|
.submenu__item--secondary a,
|
|
280
279
|
.submenu__item--tertiary a {
|
|
281
|
-
padding:
|
|
280
|
+
padding: 1rem;
|
|
282
281
|
}
|
|
283
282
|
|
|
284
283
|
.submenu__item--secondary a:hover,
|
|
@@ -288,7 +287,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
288
287
|
}
|
|
289
288
|
|
|
290
289
|
.submenu {
|
|
291
|
-
padding:
|
|
290
|
+
padding: .5rem;
|
|
292
291
|
right: -23px;
|
|
293
292
|
}
|
|
294
293
|
|