diff options
author | Ricardo Fernández Serrata <76864299+Rudxain@users.noreply.github.com> | 2024-03-18 19:29:19 -0400 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-19 11:12:49 +0000 |
commit | 783b978c5f828a8c7df489bf96be5568b0658382 (patch) | |
tree | 6b50ff6994df94792c4b6f9921693de4429bee55 /static | |
parent | f4695499a9850bdec6570b226bd8f30e5446ddc7 (diff) | |
download | tour-783b978c5f828a8c7df489bf96be5568b0658382.tar.gz tour-783b978c5f828a8c7df489bf96be5568b0658382.zip |
fix nav-bar on MS Edge
fixes #46
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css index 260bae8..f77560e 100644 --- a/static/style.css +++ b/static/style.css @@ -92,6 +92,20 @@ h6 { font-weight: normal; } +nav { + position: fixed; + /* + `fixed` collapses `.navbar` + (probably related to `display: flex`), + thus the need for this: + */ + width: 100%; /* not `vw`, + because it will overflow within a container + (except `body`) + */ + z-index: 1; +} + .navbar { display: flex; justify-content: space-between; |