fix: alignment of navbar
parent
95b79c1744
commit
5a65c64d4c
|
@ -65,6 +65,7 @@ def navbar : BaseHtmlM Html := do
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div class="navframe">
|
||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
<h3>General documentation</h3>
|
<h3>General documentation</h3>
|
||||||
<div class="nav_link"><a href={s!"{←getRoot}"}>index</a></div>
|
<div class="nav_link"><a href={s!"{←getRoot}"}>index</a></div>
|
||||||
|
@ -80,6 +81,7 @@ def navbar : BaseHtmlM Html := do
|
||||||
<h3>Library</h3>
|
<h3>Library</h3>
|
||||||
{← moduleList}
|
{← moduleList}
|
||||||
</nav>
|
</nav>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -308,6 +308,10 @@ nav {
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navframe {
|
||||||
|
--header-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.decl > div, .mod_doc {
|
.decl > div, .mod_doc {
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
|
|
Loading…
Reference in New Issue