[wp-trac] [WordPress Trac] #57506: Twenty Twenty-Three: Quote block border issue. (was: Twenty Twenty three theme quote block border issue.)
WordPress Trac
noreply at wordpress.org
Wed Mar 15 00:27:13 UTC 2023
#57506: Twenty Twenty-Three: Quote block border issue.
------------------------------+-----------------------
Reporter: nidhidhandhukiya | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.3
Component: Bundled Theme | Version: 6.1.1
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+-----------------------
Comment (by sabernhardt):
#57400 was opened first, but I might close that as a duplicate of this
ticket. The editor discrepancy was apparently fixed, so now the quote
block does not have the border either in the editor or on the front.
57506.1.diff and 57506.2.patch add the left border—even in RTL—to both
Default and Plain styles. (Twenty Twenty-Two does not have the border in
Plain style, and its Default style has the border on the right for right-
to-left languages.)
Between the two patches, I prefer 57506.2.patch. It lists styles in the
same color-style-width order that is used in the Aubergine and Canary JSON
files. The
[https://github.com/WordPress/gutenberg/blob/dd9bc7b206adf2c8a17a017945e80f3e97f73407/packages
/block-library/src/quote/theme.scss#L2 themes.scss] file has
`currentColor`, which might be a better choice than `inherit` (or
`initial`).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57506#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list