We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 196d6e7 commit 8a5db8cCopy full SHA for 8a5db8c
1 file changed
editor/js/ui/common/typedInput.js
@@ -117,7 +117,7 @@
117
this.uiSelect = this.elementDiv.wrap( "<div>" ).parent();
118
var attrStyle = this.element.attr('style');
119
var m;
120
- if ((m = /width\s*:\s*(\d+%)/i.exec(attrStyle)) !== null) {
+ if ((m = /width\s*:\s*(\d+(%|px))/i.exec(attrStyle)) !== null) {
121
this.element.css('width','100%');
122
this.uiSelect.width(m[1]);
123
this.uiWidth = null;
0 commit comments