Revert "[Posts] Fix thumbnail issues (#789)"

This reverts commit 414f9e6629.
This commit is contained in:
edshot99 2024-11-13 13:25:15 -06:00
parent 0d5984af63
commit 71646897bd
2 changed files with 15 additions and 10 deletions

View File

@ -199,8 +199,9 @@
#posts #posts-container {
width: 100%;
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1vw;
align-items: center;
justify-content: space-evenly;
}
@ -211,7 +212,7 @@
text-align: center;
vertical-align: middle;
display: inline-block;
width: 31vw;
width: fit-content;
a {
margin: 0 auto;
@ -219,7 +220,7 @@
img {
max-height: 150px;
max-width: 31vw;
max-width: 100cqw;
}
.desc {
@ -229,13 +230,11 @@
.user-disable-cropped-false {
article.post-preview {
width: 31vw;
img {
height: auto;
max-height: none;
max-width: none;
width: 31vw;
max-width: fit-content;
width: 100cqw;
&.has-cropped-false {
object-fit: cover;
@ -314,6 +313,13 @@
}
}
}
@media screen and (max-width: 800px) and (horizontal-viewport-segments: 2) {
body.resp {
#posts #posts-container {
grid-template-columns: repeat(4, 1fr);
}
}
}
@media screen and (max-width: 660px) {
body.resp {

View File

@ -160,7 +160,7 @@ div#c-users {
grid-area: p-posts;
display: flex;
overflow: auto;
justify-content: center;
justify-content: flex-start;
flex-wrap: wrap;
gap: 1em;
@ -173,7 +173,6 @@ div#c-users {
@include window-larger-than(800px) {
flex-wrap: nowrap;
border-top-left-radius: 0;
justify-content: flex-start;
}
article.post-preview {