fix media grid with newlines in same p tag
This commit is contained in:
parent
24aacd8839
commit
b3d9eb0eba
|
@ -145,6 +145,10 @@
|
||||||
aspect-ratio: var(--aspect-ratio);
|
aspect-ratio: var(--aspect-ratio);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.p:has(> .mediaContainer) {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.p:has(> .mediaContainer:only-child) ~ .p:has(> .mediaContainer:only-child) {
|
.p:has(> .mediaContainer:only-child) ~ .p:has(> .mediaContainer:only-child) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: min-content;
|
width: min-content;
|
||||||
|
|
Loading…
Reference in New Issue