use cover rather than contain on media gallary except on statuses

scroll-to-point-in-thread
Mary Kate 2020-08-14 17:46:21 -05:00
rodzic 30983571b1
commit 68daa5fbe9
1 zmienionych plików z 14 dodań i 1 usunięć

Wyświetl plik

@ -5,6 +5,7 @@
border-radius: 4px;
position: relative;
width: 100%;
height: auto;
background-color: var(--brand-color--faint);
}
@ -41,7 +42,7 @@
width: 100%;
img {
object-fit: contain;
object-fit: cover;
}
}
@ -63,6 +64,18 @@
}
}
.status__wrapper, .detailed-status__wrapper {
.media-gallery__item-thumbnail {
&,
.still-image {
img {
object-fit: contain;
}
}
}
}
.media-gallery__preview {
width: 100%;
height: 100%;