Fix sidebar height

This commit is contained in:
Vri 🌈 2023-01-19 17:30:13 +01:00
parent eb78d65022
commit fdee470516
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -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%;