fix display of media items position in group panel

pull/733/head
Audric Ackermann 5 years ago
parent d13efafad2
commit 9ce5dd23ce
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -78,7 +78,8 @@
} }
.module-attachment-section__items { .module-attachment-section__items {
justify-content: space-evenly; display: grid;
grid-template-columns: repeat(3, 1fr);
} }
.module-media { .module-media {
@ -116,11 +117,11 @@
.module-media-grid-item { .module-media-grid-item {
height: calc( height: calc(
22vw / 3.5 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( width: calc(
22vw / 3.5 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
margin-right: 0; margin: auto;
} }
} }
} }

Loading…
Cancel
Save