mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Autocomplete (maxheight demo): Add padding to account for vertical scrollbar. Fixes #6250 - Autocomplete: horizontal scrollbar on IE7.
This commit is contained in:
parent
5431a4553a
commit
53215ded4a
@ -14,7 +14,10 @@
|
|||||||
.ui-autocomplete {
|
.ui-autocomplete {
|
||||||
max-height: 100px;
|
max-height: 100px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
/* prevent horizontal scrollbar */
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
/* add padding to account for vertical scrollbar */
|
||||||
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
/* IE 6 doesn't support max-height
|
/* IE 6 doesn't support max-height
|
||||||
* we use height instead, but this forces the menu to always be this tall
|
* we use height instead, but this forces the menu to always be this tall
|
||||||
|
Loading…
Reference in New Issue
Block a user