We know approximately how tall the QuickPress box will be. Let's reduce the amount of UI twitchiness as it async loads!

git-svn-id: https://develop.svn.wordpress.org/trunk@16725 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2010-12-04 23:31:01 +00:00
parent 7bb92ec63a
commit 1baaa6ea75
3 changed files with 10 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -277,6 +277,14 @@ div.postbox div.inside {
margin-right: 10px; margin-right: 10px;
} }
#dashboard_quick_press {
min-height: 200px;
}
#dashboard_quick_press.closed {
min-height: 0;
}
#dashboard_quick_press .input-text-wrap, #dashboard_quick_press .input-text-wrap,
#dashboard_quick_press .textarea-wrap { #dashboard_quick_press .textarea-wrap {
margin: 0 0 1em 5em; margin: 0 0 1em 5em;

View File

@ -504,7 +504,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20101105' ); $styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20101105' );
$styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20101020' ); $styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20101020' );
$styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20100610' ); $styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20100610' );
$styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20101020' ); $styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20101204' );
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20101020' ); // Readme as well $styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20101020' ); // Readme as well
$styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20101203' ); $styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20101203' );
$styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20101020' ); $styles->add( 'press-this', "/wp-admin/css/press-this$suffix.css", array(), '20101020' );