fix display of media items position in group panel

This commit is contained in:
Audric Ackermann 2020-01-23 16:01:24 +11:00
parent d13efafad2
commit 9ce5dd23ce
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4
1 changed files with 5 additions and 4 deletions

View File

@ -78,7 +78,8 @@
}
.module-attachment-section__items {
justify-content: space-evenly;
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.module-media {
@ -116,11 +117,11 @@
.module-media-grid-item {
height: calc(
22vw / 3.5
); //.group-settings is 22vw and we want threee rows with some space so divide it by 3.5
); //.group-settings is 22vw and we want three rows with some space so divide it by 3.5
width: calc(
22vw / 3.5
); //.group-settings is 22vw and we want threee rows with some space so divide it by 3.5
margin-right: 0;
); //.group-settings is 22vw and we want three rows with some space so divide it by 3.5
margin: auto;
}
}
}