Three thumbnails per row was pretty tight for most phones since the most common phone resolution is 360x640. Two thumbnails per row lets us have thumbnails up to 180x180 in size.
24 lines
438 B
SCSS
24 lines
438 B
SCSS
.post-gallery-inline {
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
|
|
article.post-preview {
|
|
width: auto;
|
|
height: auto;
|
|
margin: 0 0 0.5rem 0;
|
|
padding: 0.5rem;
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 660px) {
|
|
.post-gallery-full {
|
|
.posts-container {
|
|
&.user-disable-cropped-false article.post-preview img.has-cropped-true {
|
|
object-fit: none;
|
|
}
|
|
}
|
|
}
|
|
}
|