[wp-trac] [WordPress Trac] #50029: Twenty Fifteen: Bulleted list block appears too far to the left in the editor.
WordPress Trac
noreply at wordpress.org
Wed Apr 29 12:53:06 UTC 2020
#50029: Twenty Fifteen: Bulleted list block appears too far to the left in the
editor.
---------------------------+-----------------------
Reporter: kjellr | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Bundled Theme | Version:
Severity: normal | Keywords: has-patch
Focuses: |
---------------------------+-----------------------
Twenty Fifteen contains some unnecessary margin rules for bulleted lists
in the editor, that result in the list block being pushed far off to the
left on large screens:
{{{
.edit-post-visual-editor ul:not(.wp-block-gallery),
.editor-block-list__block ul:not(.wp-block-gallery),
.block-library-list ul,
.edit-post-visual-editor ol,
.editor-block-list__block ol,
.block-library-list ol {
margin: 0 0 1.6em 1.3333em;
...
}
}}}
This issue is visible using WordPress 5.4, but only with the Gutenberg
plugin (v7.9.1) active. These margins can be removed, and the block can
inherit the default Gutenberg margins to correct the problem. This causes
no issues on 5.4 even the the plugin is deactivated.
----
Before:
[[Image(http://cldup.com/jRR8QINF8w.png)]]
After:
[[Image(http://cldup.com/ED7lIA13BL.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50029>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list