Scratchpad: Fix issues with widget block centre alignment.
This commit is contained in:
parent
b7145b46ec
commit
a19772d949
2 changed files with 10 additions and 9 deletions
|
@ -339,14 +339,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;
|
||||
}
|
||||
|
||||
|
|
|
@ -885,14 +885,15 @@
|
|||
6.0 Blocks - Widgets
|
||||
--------------------------------------------------------------*/
|
||||
|
||||
[data-align="center"] .wp-block-archives ul,
|
||||
[data-align="center"] .wp-block-categories ul,
|
||||
[data-align="center"] .wp-block-latest-posts ul {
|
||||
/* 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;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* Categories */
|
||||
|
||||
.editor-block-list__block[data-align=right] .wp-block-categories__list,
|
||||
|
|
Loading…
Reference in a new issue