From cf3a506bb840e40f132c5b6b70594bd536f59f07 Mon Sep 17 00:00:00 2001 From: minaldiwan <77973388+minaldiwan@users.noreply.github.com> Date: Fri, 9 Sep 2022 10:42:37 +0530 Subject: [PATCH] Fixed Categories (List) block center alignment in editor side --- packages/block-library/src/categories/editor.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/block-library/src/categories/editor.scss b/packages/block-library/src/categories/editor.scss index cf112b6fc5ff63..2e06db03d3e305 100644 --- a/packages/block-library/src/categories/editor.scss +++ b/packages/block-library/src/categories/editor.scss @@ -5,3 +5,6 @@ margin-top: 6px; } } +[data-align="center"] .wp-block-categories{ + text-align: center; +} \ No newline at end of file