Dyad 2: Fix issues with widget block centre alignments.

This commit is contained in:
Laurel Fulford 2018-12-04 11:15:40 -08:00
parent 4739d96c57
commit 74bbf8670d
2 changed files with 9 additions and 8 deletions

View file

@ -283,11 +283,13 @@ body:not(.has-post-thumbnail) .wp-block-table.alignfull {
6.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

@ -527,13 +527,12 @@ p.has-drop-cap:not(:focus)::first-letter {
6.0 Blocks - Widgets
--------------------------------------------------------------*/
/* Archives, Categories & Latest 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;
}
/* Latest Comments */