diff --git src/wp-admin/css/customize-controls.css src/wp-admin/css/customize-controls.css
index 1fd2006..f966114 100644
|
|
body { |
484 | 484 | display: block; |
485 | 485 | } |
486 | 486 | |
| 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 | |
487 | 495 | /* Header control: current image container */ |
488 | 496 | |
489 | 497 | #customize-control-header_image .current .container { |
… |
… |
body { |
538 | 546 | #customize-control-header_image .header-view.selected:after { |
539 | 547 | content: ''; |
540 | 548 | position: absolute; |
| 549 | height: auto; |
541 | 550 | top: 0; left: 0; bottom: 0; right: 0; |
542 | 551 | border: 4px solid #2ea2cc; |
543 | 552 | -webkit-border-radius: 2px; |
… |
… |
body { |
586 | 595 | |
587 | 596 | #customize-control-header_image button.random { |
588 | 597 | width: 100%; |
589 | | height: 40px; |
| 598 | height: auto; |
| 599 | min-height: 40px; |
| 600 | white-space: normal; |
590 | 601 | } |
591 | 602 | |
592 | 603 | #customize-control-header_image button.random .dice { |
diff --git src/wp-includes/js/customize-views.js src/wp-includes/js/customize-views.js
index 8dbc0c1..9c1669f 100644
|
|
|
120 | 120 | render: function() { |
121 | 121 | this.$el.html(this.template(this.extendedModel())); |
122 | 122 | |
123 | | if (this.model.get('random')) { |
124 | | this.setPlaceholder(40); |
125 | | } |
126 | | |
127 | 123 | this.toggleSelected(); |
128 | 124 | return this; |
129 | 125 | }, |