minor style changes for increment and decrement buttons on firefox number fields
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user