Dara: Fix issues with widget block centre alignments.

This commit is contained in:
Laurel Fulford 2018-12-04 11:15:16 -08:00
parent 37a2058f71
commit 4739d96c57
2 changed files with 10 additions and 7 deletions

View file

@ -321,11 +321,13 @@ hr.wp-block-separator {
5.0 Blocks - Widget Blocks
--------------------------------------------------------------*/
/* Archives, Categories & Latest Posts */
/* General Widget styles */
.wp-block-archives.aligncenter,
.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter {
.wp-block-categories.aligncenter ul,
.wp-block-archives.aligncenter,
.wp-block-latest-posts.aligncenter,
.wp-block-latest-comments.aligncenter {
list-style-position: inside;
text-align: center;
}

View file

@ -823,10 +823,11 @@
6.0 Blocks - Widgets
--------------------------------------------------------------*/
.editor-styles-wrapper .wp-block-archives ul,
.editor-styles-wrapper .wp-block-categories ul,
.editor-styles-wrapper .wp-block-categories ul ul,
.editor-styles-wrapper .wp-block-latest-posts ul {
/* General Widget styles */
.edit-post-visual-editor [data-align="center"] .wp-block-categories__list,
.edit-post-visual-editor [data-align="center"] .wp-block-archives,
.edit-post-visual-editor [data-align="center"] .wp-block-lastest-posts {
list-style-position: inside;
}