diff options
Diffstat (limited to 'demos/autocomplete')
-rw-r--r-- | demos/autocomplete/maxheight.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/autocomplete/maxheight.html b/demos/autocomplete/maxheight.html index bac42f63a..867c4696b 100644 --- a/demos/autocomplete/maxheight.html +++ b/demos/autocomplete/maxheight.html @@ -14,7 +14,10 @@ .ui-autocomplete { max-height: 100px; overflow-y: auto; + /* prevent horizontal scrollbar */ overflow-x: hidden; + /* add padding to account for vertical scrollbar */ + padding-right: 20px; } /* IE 6 doesn't support max-height * we use height instead, but this forces the menu to always be this tall |