Make WordPress Core

Changeset 26315


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

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

Location:
trunk/src/wp-includes
Files:
2 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        }
  • trunk/src/wp-includes/css/editor.css

    r26290 r26315  
    11151115}
    11161116
     1117.wp-editor-tabs {
     1118    float: right;
     1119}
     1120
    11171121.wp-switch-editor {
    11181122    background: #ebebeb;
     
    11501154    height: 20px;
    11511155    border-bottom: none;
     1156}
     1157
     1158.wp-media-buttons {
     1159    float: left;
    11521160}
    11531161
Note: See TracChangeset for help on using the changeset viewer.