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;
|
padding: 10px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
|
||||||
background-color: var(--lightest-accent-color);
|
background-color: var(--lightest-accent-color);
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
align-self: start;
|
align-self: start;
|
||||||
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 5%;
|
top: 50px;
|
||||||
|
|
||||||
width: 20%;
|
width: 20%;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue