mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 21:17:37 +03:00
Make the fixed navbar optional
Adds another on/off preference (default: on, keeps same behaviour) for the fixed navbar. When off the navbar will not remain at the top of the page when scrolling. This is useful for small displays such as phones where otherwise the navbar takes up a sizeable portion of the viewport.
This commit is contained in:
parent
f5cd48b07f
commit
6c202a59b0
6 changed files with 33 additions and 5 deletions
|
@ -272,6 +272,7 @@ Assign a default value for each setting by passing environment variables to Libr
|
|||
| `USE_HLS` | `["on", "off"]` | `off` |
|
||||
| `HIDE_HLS_NOTIFICATION` | `["on", "off"]` | `off` |
|
||||
| `AUTOPLAY_VIDEOS` | `["on", "off"]` | `off` |
|
||||
| `FIXED_NAVBAR` | `["on", "off"]` | `on` |
|
||||
|
||||
### Examples
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue