Fix navbar not scrolling with content on mobile (fixes #109)

This commit is contained in:
daudix
2024-12-01 14:10:36 +03:00
parent f752cb2b01
commit 588ba66112
3 changed files with 10 additions and 1 deletions

View File

@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improve performance of the page when navbar is hidden by using the `config.extra.nav.auto_hide` config variable.
- Replace `config.extra.debug_*` config variables with variables under the `config.extra.debug` section.
### Fixed
- Fix navbar not scrolling with content on mobile (#109).
## [6.0.0](https://codeberg.org/daudix/duckquill/compare/v5.4.0...v6.0.0)
### Added

View File

@ -181,7 +181,7 @@ csp = [
[extra.nav]
# Whether to automatically hide nav when not hovered or focused
auto_hide = true
# auto_hide = true
# Whether to show the Atom/RSS feed button in the nav
show_feed = true
# Whether to show the manual theme switcher in the nav

View File

@ -72,6 +72,11 @@
border-radius: 1.625rem;
max-width: min(var(--container-width), 90%);
@media only screen and (max-width: 480px) {
position: relative;
margin: 0 auto;
}
&::before {
-webkit-backdrop-filter: var(--blur);
position: absolute;