WordPress.org

Plugin Directory

Changeset 634204


Ignore:
Timestamp:
12/04/12 22:26:46 (17 months ago)
Author:
cfinke
Message:

Custom CSS: Ensuring that the editor is always at least 250px tall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/custom-css/custom-css/js/safecss-ace.js

    r634121 r634204  
    5252    else { 
    5353        $( '#safecss-ace, #safecss-container' ).css( 'height',  
    54             $( window ).height() - $( '#safecss-container' ).offset().top - $( '#wpadminbar' ).height() 
     54            Math.max( 250, $( window ).height() - $( '#safecss-container' ).offset().top - $( '#wpadminbar' ).height() ) 
    5555        ); 
    5656 
Note: See TracChangeset for help on using the changeset viewer.