Make WordPress Core

Changeset 41865


Ignore:
Timestamp:
10/15/2017 05:50:43 AM (7 years ago)
Author:
westonruter
Message:

File Editor: Move inline to external style to fix extra padding in RTL page direction.

Props afercia.
Fixes #42221.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r41851 r41865  
    30593059    padding-left: 12px;
    30603060}
     3061#templateside > ul > li > ul[role=group] {
     3062    padding-left: 0;
     3063}
    30613064
    30623065/*
  • trunk/src/wp-admin/plugin-editor.php

    r41859 r41865  
    243243    ?>
    244244    <ul role="tree" aria-labelledby="plugin-files-label">
    245     <li role="treeitem" tabindex="-1" aria-expanded="true"
    246         aria-level="1"
    247         aria-posinset="1"
    248         aria-setsize="1">
    249         <ul role="group" style="padding-left: 0;">
     245    <li role="treeitem" tabindex="-1" aria-expanded="true" aria-level="1" aria-posinset="1" aria-setsize="1">
     246        <ul role="group">
    250247            <?php wp_print_plugin_file_tree( wp_make_plugin_file_tree( $plugin_editable_files ) ); ?>
    251248        </ul>
  • trunk/src/wp-admin/theme-editor.php

    r41859 r41865  
    230230    ?>
    231231    <ul role="tree" aria-labelledby="theme-files-label">
    232         <li role="treeitem" tabindex="-1" aria-expanded="true"
    233             aria-level="1"
    234             aria-posinset="1"
    235             aria-setsize="1">
    236             <ul role="group" style="padding-left: 0;">
     232        <li role="treeitem" tabindex="-1" aria-expanded="true" aria-level="1" aria-posinset="1" aria-setsize="1">
     233            <ul role="group">
    237234                <?php wp_print_theme_file_tree( wp_make_theme_file_tree( $allowed_files ) ); ?>
    238235            </ul>
Note: See TracChangeset for help on using the changeset viewer.