Make plugin and theme title columns narrower. Props garyc40. fixes #16563 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@17449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-02-15 03:43:47 +00:00
parent 7d7922ba19
commit 65702d0ad1
4 changed files with 8 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -3784,8 +3784,6 @@ h2 .nav-tab {
17.0 - Plugins 17.0 - Plugins
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
.plugins #description {width: 60%}
.plugins .name, .plugins .name,
#pass-strength-result.strong, #pass-strength-result.strong,
#pass-strength-result.short, #pass-strength-result.short,
@ -3839,8 +3837,9 @@ input.button-highlighted,
padding: 5px 7px 0; padding: 5px 7px 0;
} }
#wpbody-content .plugins .plugin-title { #wpbody-content .plugins .plugin-title, #wpbody-content .plugins .theme-title {
padding-right: 12px; padding-right: 12px;
white-space:nowrap;
} }
.plugins .second, .plugins .row-actions-visible { .plugins .second, .plugins .row-actions-visible {

View File

@ -38,7 +38,7 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
} }
function get_table_classes() { function get_table_classes() {
return array( 'widefat', 'fixed', 'plugins' ); // todo: remove and add CSS for .themes return array( 'widefat', 'plugins' ); // todo: remove and add CSS for .themes
} }
function ajax_user_can() { function ajax_user_can() {

View File

@ -28,6 +28,10 @@ class WP_Plugins_List_Table extends WP_List_Table {
) ); ) );
} }
function get_table_classes() {
return array( 'widefat', $this->_args['plural'] );
}
function ajax_user_can() { function ajax_user_can() {
if ( is_multisite() ) { if ( is_multisite() ) {
$menu_perms = get_site_option( 'menu_items', array() ); $menu_perms = get_site_option( 'menu_items', array() );