feat: improve mobile header and layout responsiveness

- Add sticky positioning to mobile header
- Implement back navigation for mobile header
- Adjust layout to use min-height instead of fixed height
- Remove global scroll-smooth class for more flexible scrolling
- Update dependencies to latest versions
This commit is contained in:
radishzzz 2025-02-14 07:04:52 +00:00
parent 4aec3ae6cf
commit 7498f93ef9
6 changed files with 99 additions and 67 deletions

View file

@ -21,12 +21,12 @@
"@astrojs/sitemap": "^3.2.1",
"@rehype-pretty/transformers": "^0.13.2",
"@unocss/reset": "^65.4.3",
"astro": "^5.2.5",
"astro": "^5.3.0",
"astro-compress": "^2.3.6",
"astro-robots-txt": "^1.0.0",
"hastscript": "^9.0.0",
"markdown-it": "^14.1.0",
"overlayscrollbars": "^2.10.1",
"overlayscrollbars": "^2.11.0",
"photoswipe": "^5.4.4",
"rehype-autolink-headings": "^7.1.0",
"rehype-components": "^0.3.0",
@ -48,7 +48,7 @@
"@antfu/eslint-config": "^4.2.0",
"@types/markdown-it": "^14.1.2",
"@types/mdast": "^4.0.4",
"@types/node": "^22.13.1",
"@types/node": "^22.13.4",
"@types/sanitize-html": "^2.13.0",
"@unocss/eslint-plugin": "^65.4.3",
"@unocss/preset-attributify": "^65.4.3",