fix: alignment of navbar

main
Henrik Böving 2022-07-22 17:18:09 +02:00
parent 95b79c1744
commit 5a65c64d4c
2 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,7 @@ def navbar : BaseHtmlM Html := do
</head>
<body>
<div class="navframe">
<nav class="nav">
<h3>General documentation</h3>
<div class="nav_link"><a href={s!"{←getRoot}"}>index</a></div>
@ -80,6 +81,7 @@ def navbar : BaseHtmlM Html := do
<h3>Library</h3>
{← moduleList}
</nav>
</div>
</body>
</html>

View File

@ -308,6 +308,10 @@ nav {
overflow-wrap: break-word;
}
.navframe {
--header-height: 0;
}
.decl > div, .mod_doc {
padding-left: 8px;
padding-right: 8px;