forked from e621ng/e621ng
Reapply "[Posts] Fix parent children preview too small in mobile view (#786)"
This reverts commit 3d3b203daf
.
This commit is contained in:
parent
e87ce043da
commit
47ffe223ee
@ -212,8 +212,7 @@
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
container-type: inline-size;
|
||||
width: fit-content;
|
||||
|
||||
a {
|
||||
margin: 0 auto;
|
||||
@ -234,7 +233,7 @@
|
||||
img {
|
||||
height: auto;
|
||||
max-height: none;
|
||||
max-width: none;
|
||||
max-width: fit-content;
|
||||
width: 100cqw;
|
||||
|
||||
&.has-cropped-false {
|
||||
|
@ -6,7 +6,7 @@
|
||||
article.post-preview {
|
||||
box-sizing: border-box;
|
||||
height: auto;
|
||||
width: 154px;
|
||||
width: fit-content;
|
||||
margin: 0 10px 10px 0;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
@ -160,11 +160,10 @@ body[data-user-can-approve-posts="true"] .post-preview {
|
||||
}
|
||||
|
||||
#has-parent-relationship-preview, #has-children-relationship-preview {
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
article.post-preview {
|
||||
width: auto;
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 5px 5px 10px;
|
||||
|
Loading…
Reference in New Issue
Block a user