Skip to content
Permalink
Browse files

Autocomplete (maxheight demo): Add padding to account for vertical sc…

…rollbar. Fixes #6250 - Autocomplete: horizontal scrollbar on IE7.
  • Loading branch information
scottgonzalez committed Nov 4, 2010
1 parent 5431a45 commit 53215ded4a6618e054011e546c77cf63381e04be
Showing with 3 additions and 0 deletions.
  1. +3 −0 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

0 comments on commit 53215de

Please sign in to comment.
You can’t perform that action at this time.