mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Fix the editor switching tabs position on small screens, props ryelle, fixes #26151.
git-svn-id: https://develop.svn.wordpress.org/trunk@26315 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -127,7 +127,6 @@ final class _WP_Editors {
|
||||
|
||||
if ( !empty($buttons) || $set['media_buttons'] ) {
|
||||
echo '<div id="wp-' . $editor_id . '-editor-tools" class="wp-editor-tools hide-if-no-js">';
|
||||
echo $buttons;
|
||||
|
||||
if ( $set['media_buttons'] ) {
|
||||
self::$has_medialib = true;
|
||||
@@ -139,6 +138,8 @@ final class _WP_Editors {
|
||||
do_action('media_buttons', $editor_id);
|
||||
echo "</div>\n";
|
||||
}
|
||||
|
||||
echo '<div class="wp-editor-tabs">' . $buttons . "</div>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user