Toujours: Fix issues with widget block centre alignment.

This commit is contained in:
Laurel Fulford 2018-12-04 11:36:40 -08:00
parent fc9763a325
commit b4c12fc05a
2 changed files with 9 additions and 10 deletions

View file

@ -333,14 +333,14 @@ 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;
margin-left: 1.5em;
margin-right: 1.5em;
text-align: center;
}

View file

@ -814,13 +814,12 @@
6.0 Blocks - Widgets
--------------------------------------------------------------*/
/* Categories, Archives & Recent Posts */
/* General Widget styles */
[data-align="center"] .wp-block-archives ul,
[data-align="center"] .wp-block-categories ul,
[data-align="center"] .wp-block-latest-posts ul {
.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;
text-align: center;
}
/* Categories */