Publication: Fix issues with widget block centre alignment.

This commit is contained in:
Laurel Fulford 2018-12-04 11:31:26 -08:00
parent 811474d71d
commit be9f1afe9b
2 changed files with 11 additions and 2 deletions

View file

@ -381,12 +381,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;
margin-left: 24px;
margin-right: 24px;

View file

@ -785,6 +785,14 @@
6.0 Blocks - Widgets
--------------------------------------------------------------*/
/* 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;
}
/* Categories */
.editor-block-list__block[data-align=right] .wp-block-categories__list,