@sofidevo/astro-dynamic-header 5.0.1 → 5.0.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Header.astro +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofidevo/astro-dynamic-header",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
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/Header.astro CHANGED
@@ -216,6 +216,7 @@ const forcedClass = preset !== "auto" ? `header--force-${preset}` : "";
216
216
  transition:
217
217
  background-color 0.3s ease,
218
218
  color 0.3s ease;
219
+ z-index: 200;
219
220
 
220
221
  @media (width < 768px) {
221
222
  align-self: flex-end;
@@ -285,7 +286,7 @@ const forcedClass = preset !== "auto" ? `header--force-${preset}` : "";
285
286
 
286
287
  .header--fullscreen {
287
288
  border-radius: 0;
288
- padding: 1em 0.6rem;
289
+ padding:0.6rem 1em ;
289
290
 
290
291
  @media (width < 768px) {
291
292
  max-width: 100%;