WordPress.org

Make WordPress Core

Ticket #38755: 38755.3.diff

File 38755.3.diff, 1.0 KB (added by michaelarestad, 4 years ago)
  • src/wp-admin/css/customize-controls.css

     
    11381138 * Modifications to the Section Container to
    11391139 * make the textarea full-width.
    11401140 */
     1141#customize-control-custom_css {
     1142        margin-bottom: 0;
     1143}
     1144
    11411145#customize-theme-controls #sub-accordion-section-custom_css {
    1142         padding-left: 0;
    1143         padding-right: 0;
     1146        padding: 0;
    11441147}
    11451148
    11461149#customize-theme-controls #sub-accordion-section-custom_css .customize-section-title {
     
    11631166}
    11641167
    11651168#sub-accordion-section-custom_css textarea {
     1169        display: block;
    11661170        border-right: 0;
    11671171        border-left: 0;
    11681172        font-family: Consolas, Monaco, monospace;
    11691173        font-size: 12px;
    11701174        padding: 6px 8px;
    1171         height: 553px;
     1175        height: 500px;
     1176        height: calc( 100vh - 185px );
     1177        resize: none;
    11721178}
    11731179
     1180@media screen and ( max-width: 640px ) {
     1181        #sub-accordion-section-custom_css textarea {
     1182                height: calc( 100vh - 135px );
     1183        }
     1184}
     1185
    11741186/**
    11751187 * Themes
    11761188 */