[wp-trac] [WordPress Trac] #59298: Twenty Fourteen : search block is having issue with alignment.
WordPress Trac
noreply at wordpress.org
Wed Sep 6 21:29:35 UTC 2023
#59298: Twenty Fourteen : search block is having issue with alignment.
-------------------------------+------------------------------
Reporter: nidhidhandhukiya | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.3.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => reporter-feedback
Comment:
Did you set a special width on the centered Search block? It looks like it
might be 75%.
Because the custom width is set on the `.wp-block-search__inside-wrapper`
container instead of the entire block, the Search label does not either
center or line up with the edge of a centered Search block in any of the
bundled themes except for Twenty Twenty-One. GB30444 was tested with that
theme, which centers //any// text inside an element with `aligncenter`.
I do not think editing individual themes for this would help. You could
open a Gutenberg issue to consider center-aligning the text (label) for
all centered Search blocks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59298#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list