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

This commit is contained in:
marco
2013-05-20 11:39:13 -04:00
parent 3229aaf503
commit 32f7691040
2 changed files with 3 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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);