@sofidevo/astro-dynamic-header 1.0.24 → 1.0.26

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofidevo/astro-dynamic-header",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "A dynamic Astro header component that switches between floating and fullscreen styles",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/NavMenu.astro CHANGED
@@ -213,7 +213,7 @@ const pagePathname = Astro.url.pathname;
213
213
  @media screen and (min-width: 768px) {
214
214
  .menu__link::after {
215
215
  position: absolute;
216
- top: 25px;
216
+ top: 33px;
217
217
  left: 0;
218
218
  content: "";
219
219
  width: 100%;
@@ -287,7 +287,7 @@ const pagePathname = Astro.url.pathname;
287
287
  }
288
288
 
289
289
  .submenu {
290
- padding: .5rem;
290
+ padding: 0.9rem;
291
291
  right: -23px;
292
292
  }
293
293
 
@@ -336,7 +336,7 @@ const pagePathname = Astro.url.pathname;
336
336
  .menu__item:hover > .submenu {
337
337
  opacity: 1;
338
338
  pointer-events: all;
339
- transform: translateY(2.5rem);
339
+ transform: translateY(1.4rem);
340
340
  }
341
341
 
342
342
  .menu__item:hover > .submenu::after {