Altofocus: Fix issues with widget block centre alignments.
This commit is contained in:
parent
e46813a085
commit
55af5a15ce
2 changed files with 15 additions and 2 deletions
|
@ -278,11 +278,14 @@ hr.wp-block-separator {
|
|||
5.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
/* 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-latest-posts.aligncenter,
|
||||
.wp-block-latest-comments.aligncenter {
|
||||
list-style-position: inside;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
|
|
@ -563,12 +563,22 @@ p.has-drop-cap:not(:focus)::first-letter {
|
|||
list-style: disc;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-archives li,
|
||||
.editor-styles-wrapper .wp-block-categories li,
|
||||
.editor-styles-wrapper .wp-block-latest-posts li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-latest-posts.is-grid {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------
|
||||
7.0 Blocks - Animations
|
||||
--------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue