From: Linda Nichols Date: Fri, 20 Jun 2014 14:44:02 +0000 (+0000) Subject: inline css styling makes me sad X-Git-Tag: v4.6.0-beta~23^2~14 X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=584822ad3e24e9dc1855751281896334df2e6e66;p=xtuple inline css styling makes me sad --- diff --git a/enyo-client/application/source/widgets/characteristics.js b/enyo-client/application/source/widgets/characteristics.js index b051ef72a..c5a01436d 100644 --- a/enyo-client/application/source/widgets/characteristics.js +++ b/enyo-client/application/source/widgets/characteristics.js @@ -90,7 +90,7 @@ white:true, strict:false*/ name: "XV.OrderCharacteristicItem", kind: "XV.CharacteristicItem", components: [ - {kind: "XV.ComboboxWidget", name: "combobox", attr: "value", style: "width: 300px"} + {kind: "XV.ComboboxWidget", name: "combobox", attr: "value"} ], disabledChanged: function (oldValue) { this.$.combobox.setDisabled(this.disabled); diff --git a/lib/enyo-x/source/widgets/number_spinner.js b/lib/enyo-x/source/widgets/number_spinner.js index 5439d55b8..c5af7e0fb 100644 --- a/lib/enyo-x/source/widgets/number_spinner.js +++ b/lib/enyo-x/source/widgets/number_spinner.js @@ -32,9 +32,9 @@ regexp:true, undef:true, trailing:true, white:true */ {name: "input", kind: "onyx.Input", onchange: "inputChanged", onkeydown: "keyDown"}, {components: [ - {kind: "onyx.IconButton", name: "iconButton", ontap: "increase", + {kind: "onyx.IconButton", ontap: "increase", attributes: {tabIndex: "-1"}, classes: "icon-angle-up"}, - {kind: "onyx.IconButton", name: "iconButton", ontap: "decrease", + {kind: "onyx.IconButton", ontap: "decrease", attributes: {tabIndex: "-1"}, classes: "icon-angle-down"} ]} ]}