Skip to content

Commit

Permalink
Spinner: Remove z-index from buttons. Whatever the original purpose, …
Browse files Browse the repository at this point in the history
…its not needed anymore. Fixes #8655 - Spinner buttons displayed on top of Datepicker.
  • Loading branch information
jzaefferer committed Oct 22, 2012
1 parent 49f9b84 commit ac43938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/base/jquery.ui.spinner.css
Expand Up @@ -10,7 +10,7 @@
*/
.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; }
.ui-spinner-input { border: none; background: none; padding: 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 22px; }
.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; z-index: 100; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
.ui-spinner-button { width: 16px; height: 50%; font-size: .5em; padding: 0; margin: 0; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; }
.ui-spinner a.ui-spinner-button { border-top: none; border-bottom: none; border-right: none; } /* more specificity required here to overide default borders */
.ui-spinner .ui-icon { position: absolute; margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */
.ui-spinner-up { top: 0; }
Expand Down

0 comments on commit ac43938

Please sign in to comment.