WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/22/2013 02:22:15 AM (8 years ago)
Author:
azaozz
Message:

Fix the editor switching tabs position on small screens, props ryelle, fixes #26151.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r25988 r26315  
    128128        if ( !empty($buttons) || $set['media_buttons'] ) {
    129129            echo '<div id="wp-' . $editor_id . '-editor-tools" class="wp-editor-tools hide-if-no-js">';
    130             echo $buttons;
    131130
    132131            if ( $set['media_buttons'] ) {
     
    140139                echo "</div>\n";
    141140            }
     141
     142            echo '<div class="wp-editor-tabs">' . $buttons . "</div>\n";
    142143            echo "</div>\n";
    143144        }
Note: See TracChangeset for help on using the changeset viewer.