sforkowany z mirror/soapbox
use cover rather than contain on media gallary except on statuses
rodzic
30983571b1
commit
68daa5fbe9
|
@ -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%;
|
||||
|
|
Ładowanie…
Reference in New Issue