[wp-trac] [WordPress Trac] #58500: Twenty Twenty: Separator block's Default style is wider than Wide Line style in editor
WordPress Trac
noreply at wordpress.org
Sat Jun 10 09:01:09 UTC 2023
#58500: Twenty Twenty: Separator block's Default style is wider than Wide Line
style in editor
------------------------------+------------------------------
Reporter: nidhidhandhukiya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.2.2
Severity: minor | Resolution:
Keywords: has-patch | Focuses: css
------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => has-patch
Comment:
The Default style's `max-width` was necessary with WordPress 5.3 to
override the `100px` size from the editor. That is not necessary anymore,
and the `hr` element is no longer inside a `div` to hold it to the
standard `.wp-block` width of `610px`. I added `610px` as the `max-width`
for this style of the Separator block.
The Wide Line style is not quite 100% on the front end `(100vw - 8rem)`,
but I used `100%` in the editor for both `width` and `max-width` so it
would not be narrower than the Default style.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58500#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list