diff --git a/packages/block-library/src/file/editor.scss b/packages/block-library/src/file/editor.scss index 365ba5ec1dc222..1a38662381447e 100644 --- a/packages/block-library/src/file/editor.scss +++ b/packages/block-library/src/file/editor.scss @@ -4,6 +4,9 @@ // Stop file block from collapsing when floated. height: auto; } + .wp-block[data-align="center"] > & { + text-align: center; + } display: flex; flex-wrap: wrap;