Custom Headers: Allow for longer strings.

props ehg.
see #27755.


git-svn-id: https://develop.svn.wordpress.org/trunk@28086 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2014-04-12 18:39:46 +00:00
parent 6c0420348e
commit 9defa138a4
2 changed files with 12 additions and 5 deletions

View File

@@ -484,6 +484,14 @@ body {
display: block;
}
#customize-control-header_image button.new,
#customize-control-header_image button.remove {
white-space: normal;
width: 48%;
height: auto;
}
/* Header control: current image container */
#customize-control-header_image .current .container {
@@ -538,6 +546,7 @@ body {
#customize-control-header_image .header-view.selected:after {
content: '';
position: absolute;
height: auto;
top: 0; left: 0; bottom: 0; right: 0;
border: 4px solid #2ea2cc;
-webkit-border-radius: 2px;
@@ -586,7 +595,9 @@ body {
#customize-control-header_image button.random {
width: 100%;
height: 40px;
height: auto;
min-height: 40px;
white-space: normal;
}
#customize-control-header_image button.random .dice {

View File

@@ -120,10 +120,6 @@
render: function() {
this.$el.html(this.template(this.extendedModel()));
if (this.model.get('random')) {
this.setPlaceholder(40);
}
this.toggleSelected();
return this;
},