make right panel the correct size when window is tiny

This commit is contained in:
Audric Ackermann 2020-10-07 10:51:35 +11:00
parent 2279f0abc6
commit d7e1d014a4
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4
1 changed files with 6 additions and 6 deletions

View File

@ -8,8 +8,8 @@
display: flex;
flex-direction: column;
height: 100vh;
width: 22vw;
flex-shrink: 0;
width: -webkit-fill-available;
@include themify($themes) {
background: themed('leftpaneOverlayBackground');
border-left: themed('sessionBorder');
@ -142,11 +142,11 @@
.module-media-grid-item__image,
.module-media-grid-item {
height: calc(
22vw / 3.5
); //.group-settings is 22vw and we want three rows with some space so divide it by 3.5
22vw / 4
); //.group-settings is 22vw and we want three rows with some space so divide it by 4
width: calc(
22vw / 3.5
); //.group-settings is 22vw and we want three rows with some space so divide it by 3.5
22vw / 4
); //.group-settings is 22vw and we want three rows with some space so divide it by 4
margin: auto;
margin-bottom: 1vh;
}