Rebalance: Fix issues with widget block centre alignment.

This commit is contained in:
Laurel Fulford 2018-12-04 11:32:17 -08:00
parent aca16ec89d
commit b7145b46ec
2 changed files with 8 additions and 5 deletions

View file

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

View file

@ -738,9 +738,11 @@
6.0 Blocks - Widgets
--------------------------------------------------------------*/
[data-align="center"] .wp-block-archives ul,
[data-align="center"] .wp-block-latest-posts ul,
[data-align="center"] .wp-block-categories 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;
}