| @@ -327,11 +327,15 @@ | ||
| 327 | 327 | array( 'type' => 'error' ) |
| 328 | 328 | ); |
| 329 | 329 | ?> |
| 330 | 330 | </div> |
| 331 | - <div id="guidelines-wp-admin-app"></div> | |
| 332 | 331 | <?php |
| 332 | + // Core's pre-CSS Modules Boot layout uses this class for viewport sizing. | |
| 333 | + // Remove it when the minimum supported WordPress version includes the Boot | |
| 334 | + // changes from Gutenberg #81756. | |
| 335 | + ?> | |
| 336 | + <div id="guidelines-wp-admin-app" class="boot-layout-container"></div> | |
| 337 | + <?php | |
| 333 | 338 | } |
| 334 | 339 | |
| 335 | 340 | // Hook the enqueue function to admin_enqueue_scripts |
| 336 | 341 | add_action( 'admin_enqueue_scripts', 'gutenberg_guidelines_wp_admin_enqueue_scripts' ); |
| 337 | - | |