Limit height of tall images in posts (#37035)
This commit is contained in:
parent
2bd7c855b0
commit
5f33ac208f
@ -7375,6 +7375,13 @@ a.status-card {
|
|||||||
grid-template-rows: 1fr 1fr;
|
grid-template-rows: 1fr 1fr;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
|
|
||||||
|
&--layout-1 {
|
||||||
|
// The size of single images is determined by their
|
||||||
|
// aspect-ratio, applied via inline style attribute
|
||||||
|
width: initial;
|
||||||
|
max-height: 460px;
|
||||||
|
}
|
||||||
|
|
||||||
&--layout-2 {
|
&--layout-2 {
|
||||||
& > .media-gallery__item:nth-child(1) {
|
& > .media-gallery__item:nth-child(1) {
|
||||||
border-end-end-radius: 0;
|
border-end-end-radius: 0;
|
||||||
|
|||||||
@ -7161,6 +7161,13 @@ a.status-card {
|
|||||||
grid-template-rows: 1fr 1fr;
|
grid-template-rows: 1fr 1fr;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
|
|
||||||
|
&--layout-1 {
|
||||||
|
// The size of single images is determined by their
|
||||||
|
// aspect-ratio, applied via inline style attribute
|
||||||
|
width: initial;
|
||||||
|
max-height: 460px;
|
||||||
|
}
|
||||||
|
|
||||||
&--layout-2 {
|
&--layout-2 {
|
||||||
& > .media-gallery__item:nth-child(1) {
|
& > .media-gallery__item:nth-child(1) {
|
||||||
border-end-end-radius: 0;
|
border-end-end-radius: 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user