[Product Blocks editor]: set max width for the description general field (#41555)

This commit is contained in:
Damián Suárez 2023-11-21 16:03:30 -03:00 committed by GitHub
commit cb539c787f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: tweak
[Product Blocks editor]: set max width for the description general field

View File

@ -29,10 +29,10 @@
} }
} }
// This alignment class does not exists in // This alignment class does not exists in
// https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/common.scss // https://github.com/WordPress/gutenberg/blob/trunk/packages/block-library/src/common.scss
.has-text-align-justify { .has-text-align-justify {
/*rtl:ignore*/ /*rtl:ignore*/
text-align: justify; text-align: justify;
} }

View File

@ -163,6 +163,10 @@
.block-editor-block-list__block:not([contenteditable]):focus:after { .block-editor-block-list__block:not([contenteditable]):focus:after {
display: none; // use important or increase specificity. display: none; // use important or increase specificity.
} }
.block-editor-block-list__block fieldset {
min-width: 0;
}
} }
} }