Skip to content

Commit 96428fd

Browse files
committed
Reset styles from hidden blocks
1 parent dd0d1cb commit 96428fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/block-editor/src/components/block-list/content.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ _::-webkit-full-page-media, _:future, :root [data-has-multi-selection="true"] .b
193193
// Instead, use styles to visually hide blocks.
194194
&.is-block-hidden {
195195
visibility: hidden !important;
196+
height: 0 !important;
197+
overflow: hidden !important;
198+
border: none !important;
199+
padding: 0 !important;
196200
}
197201
}
198202

0 commit comments

Comments
 (0)