[wp-trac] [WordPress Trac] #60808: Twenty Twenty-Four: Black outline around the Navigation block submenu-expanding button
WordPress Trac
noreply at wordpress.org
Thu Jul 25 12:33:47 UTC 2024
#60808: Twenty Twenty-Four: Black outline around the Navigation block submenu-
expanding button
-------------------------------------------------+-------------------------
Reporter: jordesign | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Bundled Theme | Version: 6.5
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-testing has-patch | Focuses:
| accessibility
-------------------------------------------------+-------------------------
Comment (by wildworks):
> I think the CSS that was previously added should be moved from
theme.json to style.css, updated with the change proposed in this ticket,
and enqueued.
> And that a new file for the proposed navigation block CSS should be
created and enqueued conditionally. I mean enqueued the same way as the
button stylesheet.
If we consider this ticket a bug, I agree with this approach. I know that
there is a convention to avoid using PHP and stylesheets in block themes,
but if there is a solution, I think it is better to try it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60808#comment:44>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list