parent
5c1b6b8686
commit
2d10676bd9
3 changed files with 19 additions and 2 deletions
5
scss/import/files.scss
Normal file
5
scss/import/files.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
}
|
3
scss/import/main.scss
Normal file
3
scss/import/main.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
margin: 0;
|
||||
}
|
|
@ -25,13 +25,22 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
|
|||
margin: 0;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
position: absolute;
|
||||
text-align: left;
|
||||
top: -$ngtb_height;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
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 {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
|
|
Reference in a new issue