WordPress.org

Make WordPress Core

Changeset 28086


Ignore:
Timestamp:
04/12/2014 06:39:46 PM (6 years ago)
Author:
nacin
Message:

Custom Headers: Allow for longer strings.

props ehg.
see #27755.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-controls.css

    r27985 r28086  
    485485}
    486486
     487#customize-control-header_image button.new,
     488#customize-control-header_image button.remove {
     489    white-space: normal;
     490    width: 48%;
     491    height: auto;
     492}
     493
     494
    487495/* Header control: current image container */
    488496
     
    539547    content: '';
    540548    position: absolute;
     549    height: auto;
    541550    top: 0; left: 0; bottom: 0; right: 0;
    542551    border: 4px solid #2ea2cc;
     
    587596#customize-control-header_image button.random {
    588597    width: 100%;
    589     height: 40px;
     598    height: auto;
     599    min-height: 40px;
     600    white-space: normal;
    590601}
    591602
  • trunk/src/wp-includes/js/customize-views.js

    r27970 r28086  
    121121            this.$el.html(this.template(this.extendedModel()));
    122122
    123             if (this.model.get('random')) {
    124                 this.setPlaceholder(40);
    125             }
    126 
    127123            this.toggleSelected();
    128124            return this;
Note: See TracChangeset for help on using the changeset viewer.