diff --git a/common/static/css/vendor/html5-input-polyfills/number-polyfill.css b/common/static/css/vendor/html5-input-polyfills/number-polyfill.css index 69b85beea7..31dfdda23d 100644 --- a/common/static/css/vendor/html5-input-polyfills/number-polyfill.css +++ b/common/static/css/vendor/html5-input-polyfills/number-polyfill.css @@ -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 { diff --git a/common/static/js/vendor/html5-input-polyfills/number-polyfill.js b/common/static/js/vendor/html5-input-polyfills/number-polyfill.js index fbc7d4704b..80491a85a5 100644 --- a/common/static/js/vendor/html5-input-polyfills/number-polyfill.js +++ b/common/static/js/vendor/html5-input-polyfills/number-polyfill.js @@ -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);