1 parent 903e792 commit a9bc0cbCopy full SHA for a9bc0cb
1 file changed
src/assets/styles.css
@@ -105,11 +105,12 @@ body > main > nav {
105
background-color: var(--nav-bg-color);
106
color: var(--nav-fg-color);
107
display: inline-block;
108
- height: 100%;
+ height: calc(100vh - var(--header-height));
109
left: 0;
110
overflow: auto;
111
padding-right: 1rem;
112
- position: absolute;
+ position: fixed;
113
+ top: var(--header-height);
114
transition-duration: 0.5s;
115
transition-property: left;
116
width: fit-content;
@@ -254,6 +255,10 @@ table th {
254
255
margin-top: 0;
256
}
257
258
+ body > main > nav {
259
+ display: none;
260
+ }
261
+
262
body > main > .topic-background {
263
background-color: transparent;
264
display: block;
0 commit comments