mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-25 07:32:19 -05:00
Make nav fixed again (#2288)
* Make nav fixed again * Fix tabs spacing --------- Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
This commit is contained in:
parent
bf0446bd2e
commit
0047f4adb6
|
|
@ -106,9 +106,7 @@
|
||||||
|
|
||||||
.org__calendar__container {
|
.org__calendar__container {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
/* TODO: uncomment when top nav is sticky again */
|
top: 47px;
|
||||||
/* top: 47px; */
|
|
||||||
top: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -525,9 +525,7 @@ abbr[title] {
|
||||||
|
|
||||||
.tab__buttons-container__sticky {
|
.tab__buttons-container__sticky {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
/* TODO: uncomment when top nav is sticky again */
|
top: 47px;
|
||||||
/* top: 47px; */
|
|
||||||
top: 0;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background-color: var(--bg);
|
background-color: var(--bg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,9 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-block: var(--s-2);
|
padding-block: var(--s-2);
|
||||||
padding-inline: var(--s-4);
|
padding-inline: var(--s-4);
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout__avatar {
|
.layout__avatar {
|
||||||
|
|
@ -152,6 +155,7 @@
|
||||||
.layout__main-container {
|
.layout__main-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
padding-top: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout__main {
|
.layout__main {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user