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

Props afercia.
Fixes #42221.


git-svn-id: https://develop.svn.wordpress.org/trunk@41865 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-10-15 05:50:43 +00:00
parent 93bb527725
commit cabd02a137
3 changed files with 7 additions and 10 deletions

View File

@ -3058,6 +3058,9 @@ img {
#templateside ul ul {
padding-left: 12px;
}
#templateside > ul > li > ul[role=group] {
padding-left: 0;
}
/*
* Styles for Theme and Plugin editors.

View File

@ -242,11 +242,8 @@ if ( 'POST' === $_SERVER['REQUEST_METHOD'] ) {
}
?>
<ul role="tree" aria-labelledby="plugin-files-label">
<li role="treeitem" tabindex="-1" aria-expanded="true"
aria-level="1"
aria-posinset="1"
aria-setsize="1">
<ul role="group" style="padding-left: 0;">
<li role="treeitem" tabindex="-1" aria-expanded="true" aria-level="1" aria-posinset="1" aria-setsize="1">
<ul role="group">
<?php wp_print_plugin_file_tree( wp_make_plugin_file_tree( $plugin_editable_files ) ); ?>
</ul>
</ul>

View File

@ -229,11 +229,8 @@ if ( $theme->errors() )
endif;
?>
<ul role="tree" aria-labelledby="theme-files-label">
<li role="treeitem" tabindex="-1" aria-expanded="true"
aria-level="1"
aria-posinset="1"
aria-setsize="1">
<ul role="group" style="padding-left: 0;">
<li role="treeitem" tabindex="-1" aria-expanded="true" aria-level="1" aria-posinset="1" aria-setsize="1">
<ul role="group">
<?php wp_print_theme_file_tree( wp_make_theme_file_tree( $allowed_files ) ); ?>
</ul>
</li>