@sofidevo/astro-dynamic-header 1.0.29 → 1.0.30
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/MobileNav.astro +4 -4
- package/src/NavMenu.astro +2 -2
package/package.json
CHANGED
package/src/MobileNav.astro
CHANGED
|
@@ -50,7 +50,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
50
50
|
)
|
|
51
51
|
}
|
|
52
52
|
{
|
|
53
|
-
menuItems
|
|
53
|
+
menuItems.map((item) => (
|
|
54
54
|
<li>
|
|
55
55
|
{item.submenu ? (
|
|
56
56
|
<details class="mobile-details">
|
|
@@ -65,7 +65,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
65
65
|
/>
|
|
66
66
|
</summary>
|
|
67
67
|
<ol class="mobile-submenu">
|
|
68
|
-
{item
|
|
68
|
+
{item.submenu.map((sub) => (
|
|
69
69
|
<li>
|
|
70
70
|
{sub.submenu && sub.submenu.length > 0 ? (
|
|
71
71
|
<details class="mobile-details">
|
|
@@ -80,7 +80,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
80
80
|
/>
|
|
81
81
|
</summary>
|
|
82
82
|
<ol class="mobile-subsubmenu">
|
|
83
|
-
{sub.submenu.map((subsub
|
|
83
|
+
{sub.submenu.map((subsub) => (
|
|
84
84
|
<li class="mobile-submenu__item secondary">
|
|
85
85
|
<a
|
|
86
86
|
class="menu__link mobile-menu__link"
|
|
@@ -123,7 +123,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
123
123
|
width: 104vw;
|
|
124
124
|
height: 100dvh;
|
|
125
125
|
position: fixed;
|
|
126
|
-
|
|
126
|
+
top: -11px;
|
|
127
127
|
left: 0;
|
|
128
128
|
background: #151515;
|
|
129
129
|
z-index: 20;
|
package/src/NavMenu.astro
CHANGED
|
@@ -264,7 +264,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
264
264
|
justify-content: space-between;
|
|
265
265
|
align-items: center;
|
|
266
266
|
width: 100%;
|
|
267
|
-
height:
|
|
267
|
+
height: 1rem;
|
|
268
268
|
border-radius: 0.4rem;
|
|
269
269
|
color: #fff;
|
|
270
270
|
color: var(--color-tertiary, #fff);
|
|
@@ -277,7 +277,7 @@ const pagePathname = Astro.url.pathname;
|
|
|
277
277
|
|
|
278
278
|
.submenu__item--secondary a,
|
|
279
279
|
.submenu__item--tertiary a {
|
|
280
|
-
padding:
|
|
280
|
+
padding: 1rem;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
.submenu__item--secondary a:hover,
|