Make navbar sticky
This commit is contained in:
parent
d54c4d6873
commit
3528ffcc8c
2 changed files with 4 additions and 1 deletions
|
|
@ -6,6 +6,9 @@
|
|||
padding: 10px 0;
|
||||
width: 100%;
|
||||
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
background-color: var(--lightest-accent-color);
|
||||
|
||||
ol {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
align-self: start;
|
||||
|
||||
position: sticky;
|
||||
top: 5%;
|
||||
top: 50px;
|
||||
|
||||
width: 20%;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue