Revert "[Posts] Fix parent children preview too small in mobile view (#786)"

This reverts commit 0af8600cae.
This commit is contained in:
edshot99 2024-11-13 13:25:37 -06:00
parent 71646897bd
commit 3d3b203daf
2 changed files with 7 additions and 5 deletions

View File

@ -212,7 +212,8 @@
text-align: center;
vertical-align: middle;
display: inline-block;
width: fit-content;
width: 100%;
container-type: inline-size;
a {
margin: 0 auto;
@ -233,7 +234,7 @@
img {
height: auto;
max-height: none;
max-width: fit-content;
max-width: none;
width: 100cqw;
&.has-cropped-false {

View File

@ -6,7 +6,7 @@
article.post-preview {
box-sizing: border-box;
height: auto;
width: fit-content;
width: 154px;
margin: 0 10px 10px 0;
overflow: hidden;
text-align: center;
@ -160,10 +160,11 @@ body[data-user-can-approve-posts="true"] .post-preview {
}
#has-parent-relationship-preview, #has-children-relationship-preview {
flex-direction: row;
flex-wrap: wrap;
overflow-x: auto;
white-space: nowrap;
article.post-preview {
width: auto;
border: none;
margin: 0;
padding: 5px 5px 10px;