Lodestar: Fix issues with widget block centre alignment.

This commit is contained in:
Laurel Fulford 2018-12-04 11:28:50 -08:00
parent 2acb18fb53
commit e5ab97e8cc
2 changed files with 7 additions and 8 deletions

View file

@ -310,15 +310,14 @@ body.lodestar-front-page:not(.has-sidebar) .lodestar-panel:not(.two-column) .wp-
6.0 Blocks - Widgets
--------------------------------------------------------------*/
/* 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: 0;
margin-right: 0;
text-align: center;
}

View file

@ -442,11 +442,11 @@ p.has-drop-cap:not(:focus)::first-letter {
6.0 Blocks - Widgets
--------------------------------------------------------------*/
/* Categories, Latest Posts & Archives */
/* General Widget styles */
[data-align="center"] .wp-block-categories ul,
[data-align="center"] .wp-block-latest-posts ul,
[data-align="center"] .wp-block-archives 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;
}