Fix chosen multiple input height reported in https://app.asana.com/0/11138575454178/11272871785095

This commit is contained in:
Brian Miyaji
2014-03-30 11:06:52 +11:00
parent 64abb6c9b5
commit aa16fab404
2 changed files with 3 additions and 1 deletions

View File

@@ -292,6 +292,7 @@ table.widefat select.sp-outcome {
color: #a00; color: #a00;
} }
/* Chosen */
.chosen-container-single .chosen-single { .chosen-container-single .chosen-single {
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
@@ -327,6 +328,7 @@ table.widefat select.sp-outcome {
.chosen-container-multi .chosen-choices li.search-field input[type="text"] { .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
color: #a9a9a9; color: #a9a9a9;
height: auto;
} }
.chosen-container-multi .chosen-choices li.search-choice { .chosen-container-multi .chosen-choices li.search-choice {

View File

@@ -39,9 +39,9 @@ class SP_Admin_Assets {
if ( in_array( $screen->id, sp_get_screen_ids() ) ) { if ( in_array( $screen->id, sp_get_screen_ids() ) ) {
// Admin styles for SP pages only // Admin styles for SP pages only
wp_enqueue_style( 'sportspress-admin', SP()->plugin_url() . '/assets/css/admin.css', array(), SP_VERSION );
wp_enqueue_style( 'jquery-chosen', SP()->plugin_url() . '/assets/css/chosen.css', array(), '1.1.0' ); wp_enqueue_style( 'jquery-chosen', SP()->plugin_url() . '/assets/css/chosen.css', array(), '1.1.0' );
wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_style( 'wp-color-picker' );
wp_enqueue_style( 'sportspress-admin', SP()->plugin_url() . '/assets/css/admin.css', array(), SP_VERSION );
} }
if ( in_array( $screen->id, array( 'dashboard' ) ) ) { if ( in_array( $screen->id, array( 'dashboard' ) ) ) {