set 320px height when description has content

This commit is contained in:
Damián Suárez 2023-12-07 20:12:07 -03:00
parent f919a5526f
commit 871469de7e
2 changed files with 4 additions and 3 deletions

View File

@ -112,7 +112,9 @@ export function DescriptionBlockEdit( {
<BlockPreview
blocks={ parse( description ) }
viewportWidth={ 960 }
additionalStyles={ [ { css: 'body { padding: 32px; }' } ] }
additionalStyles={ [
{ css: 'body { padding: 32px; height: 10000px }' },
] }
/>
) }

View File

@ -6,7 +6,6 @@
.block-editor-block-preview__container {
resize: vertical;
height: 220px;
min-height: 220px;
height: 320px;
}
}