Update styles for mobile preview

I removed some deprecated styles and updated the style affecting images in mobile preview.
[MAILPOET-6368]
This commit is contained in:
Jan Lysý
2025-01-07 11:24:33 +01:00
committed by Aschepikov
parent d23a495d07
commit e429bd99b1

View File

@@ -109,17 +109,6 @@ ol.has-background {
* Mobile preview fixes * Mobile preview fixes
*/ */
.is-mobile-preview figure > div { .is-mobile-preview figure > div {
max-width: 100% !important;
height: auto !important; height: auto !important;
width: auto !important;
}
.is-mobile-preview .wp-block-columns {
display: flex;
flex-direction: column;
}
.is-mobile-preview .wp-block-column {
box-sizing: border-box;
/* override flex-basis set in style attribute to fix the height of the column in mobile preview. Blocks overriding is as a part of style.css in blocks-library */
flex-basis: auto !important;
} }