WordPress / wporg-developer

WordPress.org Developer theme
https://developer.wordpress.org/
60 stars 23 forks source link

Fix the position of the Table of Contents #522

Closed adamwoodnz closed 3 months ago

adamwoodnz commented 3 months ago

A change in Gutenberg 18.5 broke the 3 column layout which controls the position of the table of contents. This PR updates the templates to be compatible with the changes to the 3 column layout in the parent theme.

See https://github.com/WordPress/wporg-parent-2021/issues/139

Depends on https://github.com/WordPress/wporg-parent-2021/pull/140 and https://github.com/WordPress/wporg-mu-plugins/pull/624

Screenshots

Before After
developer wordpress org_reference_functions_add_theme_support_ developer wordpress org_reference_functions_add_theme_support_ (1)