Skip to content

Commit 7a85cbe

Browse files
committed
Spinner: CSS improvements - remove fixed height from wrapper; temp. override icon style to fix off-by-one positioning
1 parent 13f9310 commit 7a85cbe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

themes/base/jquery.ui.spinner.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Spinner
22
----------------------------------*/
3-
.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; height: 1.8em; }
3+
.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; }
44
.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; }
55
.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; vertical-align: middle; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
66
.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */
@@ -10,3 +10,7 @@
1010

1111
/* TR overrides */
1212
span.ui-spinner { background: none; }
13+
.ui-spinner .ui-icon-triangle-1-s {
14+
/* need to fix icons sprite */
15+
background-position:-65px -16px;
16+
}

0 commit comments

Comments
 (0)