[wp-trac] [WordPress Trac] #58837: Horizontal Scroll Issue in theme/plugin Editor Page File Navigation Section
WordPress Trac
noreply at wordpress.org
Fri Jan 17 21:41:08 UTC 2025
#58837: Horizontal Scroll Issue in theme/plugin Editor Page File Navigation Section
-----------------------------------------+------------------------------
Reporter: mikinc860 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9
Severity: minor | Resolution:
Keywords: has-patch changes-requested | Focuses: ui, css
-----------------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: has-patch => has-patch changes-requested
* version: 6.3 => 4.9
Comment:
[41999] added `width: 100%` to the `.notice`.
I do not think you need to exclude `.howto` list items for this style
rule. The `.howto` class is for a [https://github.com/WordPress/wordpress-
develop/blob/5e74d3416f6ca7f204ab772cd0b836923bf1ad41/src/wp-admin/theme-
editor.php#L280-L294 child theme's reference to its parent]. This has a
link, but the link would not contain a `.notice` span. I think you can
just update the [https://github.com/WordPress/wordpress-
develop/blob/5e74d3416f6ca7f204ab772cd0b836923bf1ad41/src/wp-
admin/css/common.css#L4084 existing width value]. If `:not(.howto)` is
necessary, then the new ruleset could still be moved inside the existing
782px media query (immediately after `width: 100%`).
Note that if the `.notice` switches to `box-sizing: border-box`, the width
would need to add 10 pixels instead of subtracting 11.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58837#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list