1
1
Fork 0

targets #22 and #29

This commit is contained in:
Vrifox 2020-10-19 09:34:36 +02:00
parent 5c1b6b8686
commit 2d10676bd9
3 changed files with 19 additions and 2 deletions

5
scss/import/files.scss Normal file
View file

@ -0,0 +1,5 @@
body {
display: flex;
flex-direction: column;
margin: 0;
}

3
scss/import/main.scss Normal file
View file

@ -0,0 +1,3 @@
body {
margin: 0;
}

View file

@ -25,13 +25,22 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
margin: 0; margin: 0;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
position: absolute;
text-align: left; text-align: left;
top: -$ngtb_height;
vertical-align: middle; vertical-align: middle;
white-space: nowrap; white-space: nowrap;
width: 100%; width: 100%;
z-index: 9999; z-index: 9999;
@if $type == blog {
position: absolute;
top: -$ngtb_height;
} @else if $type == wiki {
position: absolute;
top: 0;
} @else {
order: -1;
position: sticky;
top: 0;
}
ul { ul {
display: flex; display: flex;
flex: 1; flex: 1;