[wp-trac] [WordPress Trac] #61389: WordPress 6.6 Beta 1 search box in add themes is misaligned
WordPress Trac
noreply at wordpress.org
Mon Jun 10 15:07:53 UTC 2024
#61389: WordPress 6.6 Beta 1 search box in add themes is misaligned
-------------------------------------+-------------------------------------
Reporter: balub | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.6
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: has-screenshots has- | Focuses: ui, css,
patch | administration
-------------------------------------+-------------------------------------
Comment (by colorful tones):
> This has not been tested on other screens that contain the filter search
box.
Yes, let's target only what we need to update. It seems that the
regression is only affecting the Add Themes area. I checked the Media
Library search and Plugins search and they're not impacted by this
regression.
Also, it is worth noting that the Add Media area has a `margin: 11px 0;`
(see: https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
includes/css/media-views.css#L1217).
While I think @sabernhardt patch is suitable we might want to consider:
{{{
.theme-install-php .wp-filter .search-form {
margin-block: 11px;
}
}}}
The `11px` matches the Media Library and the `margin-block` only targets
the block's start and end margins while accounting for writing mode,
directionality, and text orientation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61389#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list