Fix navbar not scrolling with content on mobile (fixes #109)
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user