fix(Public): media mosaic container

This commit is contained in:
Matthieu Bessat 2020-08-05 14:38:14 +02:00
parent 9872e46847
commit 7c6af664dd

View file

@ -155,12 +155,16 @@
display: flex;
justify-content: center;
}
.mosaic-1 .media-container {
width: 70%;
}
/* Mosaic level 2 */
.mosaic-2 {
width: 80%;
margin-left: auto;
margin-right: auto;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr;
}
@ -176,6 +180,9 @@
/* Mosaic level 4 */
.mosaic-4 {
width: 70%;
margin-left: auto;
margin-right: auto;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
}
@ -237,6 +244,13 @@
.media-modal .media-modal-content {
border-radius: 4px;
width: 100%;
/** crop not very cool images in modal **/
max-height: 80vh;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.media-modal img, .media-modal video {
@ -738,6 +752,7 @@ RESPONSIVE
}
.media-mosaic {
width: 100% !important;
height: 33em;
}