[wp-meta] [Making WordPress.org] #6732: table of contents is width of longest link
Making WordPress.org
noreply at wordpress.org
Fri Feb 3 16:20:22 UTC 2023
#6732: table of contents is width of longest link
---------------------------+-----------------------------
Reporter: joyously | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Keywords: has-screenshots
---------------------------+-----------------------------
Some of the headings can be long, and the table of contents is not set to
a max width, so the long heading can make the table wider than the page
content.
It looks like CSS for max-width is needed.
See https://developer.wordpress.org/reference/functions/wp_enqueue_script/
for an example.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/6732>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list