[wp-trac] [WordPress Trac] #60808: Twenty Twenty-Four: Black outline around the Navigation block submenu-expanding button
WordPress Trac
noreply at wordpress.org
Tue Apr 30 14:49:17 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.5.3
Component: Bundled Theme | Version: 6.5
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-testing has-patch | Focuses:
| accessibility
-------------------------------------------------+-------------------------
Comment (by wildworks):
I started thinking that solving this problem via `theme.json` might not be
ideal. Because styles defined in the `css` field can be overridden by the
user, but I don't think this style should be overridden.
Unfortunately, there is currently no way to enqueue styles only to the
frontend via `theme.json`.
What do you think about using the `wp_enqueue_scripts()` hook instead?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60808#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list