Commit 32f76910 by marco

minor style changes for increment and decrement buttons on firefox number fields

parent 3229aaf5
......@@ -2,9 +2,8 @@
div.number-spin-btn-container {
display: inline-block;
position: relative;
vertical-align: top;
margin: 0;
margin-left: 3px;
vertical-align: middle;
margin: 0 0 0 3px;
padding: 0; }
div.number-spin-btn {
......
......@@ -142,7 +142,7 @@ HTML5 Number polyfill | Jonathan Stipe | https://github.com/jonstipe/number-poly
var $downBtn, $elem, $upBtn, attrMutationCallback, attrObserver, btnContainer, downBtn, elem, halfHeight, upBtn;
elem = this;
$elem = $(elem);
halfHeight = ($elem.outerHeight() / 2) + 'px';
halfHeight = ($elem.outerHeight() / 5) + 'px';
upBtn = document.createElement('div');
downBtn = document.createElement('div');
$upBtn = $(upBtn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment