[wp-trac] [WordPress Trac] #59957: Twenty Twenty and Twenty Twenty-One: Details block padding issue when setting its alignment to full-width (was: Twenty Twenty Theme: Details block padding issue when setting its alignment to full-width)
WordPress Trac
noreply at wordpress.org
Fri Nov 24 15:25:08 UTC 2023
#59957: Twenty Twenty and Twenty Twenty-One: Details block padding issue when
setting its alignment to full-width
---------------------------+------------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: css
---------------------------+------------------------------
Changes (by sabernhardt):
* keywords: needs-patch dev-feedback => needs-patch
* component: Themes => Bundled Theme
Comment:
The `max-width` would need to be changed, not the margins.
I think this would work for both themes (in editor styles):
{{{
.wp-block-details > .wp-block {
max-width: 100%;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59957#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list