mirror of
https://github.com/zoldar/jenot.git
synced 2026-01-05 07:02:55 +00:00
Make top bar sticky
This commit is contained in:
parent
d624129180
commit
58507f59ef
1 changed files with 4 additions and 1 deletions
|
|
@ -299,10 +299,13 @@ button {
|
||||||
/* width: 270px; */
|
/* width: 270px; */
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
margin: var(--gap-1) auto 0 auto;
|
margin: var(--gap-1) auto 0 auto;
|
||||||
padding: 0 var(--gap-1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#top-bar {
|
#top-bar {
|
||||||
|
position: sticky;
|
||||||
|
top: -1px;
|
||||||
|
padding-bottom: 0.4em;
|
||||||
|
background: var(--background);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
gap: var(--gap-1);
|
gap: var(--gap-1);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue