Fix sidebar height
This commit is contained in:
parent
eb78d65022
commit
fdee470516
1 changed files with 3 additions and 2 deletions
|
@ -7,13 +7,14 @@
|
||||||
border-top: 2px solid var(--vriish-rose);
|
border-top: 2px solid var(--vriish-rose);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
gap: 1em;
|
||||||
grid-area: sidebar;
|
grid-area: sidebar;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
|
max-height: 100vh;
|
||||||
|
padding: 1em;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
gap: 1em;
|
|
||||||
padding: 1em;
|
|
||||||
@media (min-width: 921px) {
|
@media (min-width: 921px) {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
Loading…
Reference in a new issue