·
27 commits
to main
since this release
Patch Changes
-
df2c286: feat(banner): add pushDown option to push content down instead of overlay
Add optional
pushDownconfig to banner plugin that allows top banners to smoothly push page content down (add margin-top) instead of overlaying it.Usage:
init({ banner: { position: "top", pushDown: "header", // CSS selector of element to push down }, });
Benefits:
- Opt-in feature (default behavior unchanged)
- Smooth transition with CSS animations
- Improves UX for sticky navigation
- Automatically removes margin when banner is dismissed