Permalink
Browse files

Panel: Set max-height for closed panel. Fixes #5843 - Page div gets a…

… vertical scrollbar on IE9 if panel is longer than page content.
  • Loading branch information...
1 parent fce01d1 commit 5e3a5c6491aafcf9ad6ede7d506b17a1423480fa @jaspermdegroot jaspermdegroot committed Apr 2, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 css/structure/jquery.mobile.panel.css
@@ -2,13 +2,15 @@
.ui-panel {
width: 17em;
min-height: 100%;
+ max-height: none;
border-width: 0;
position: absolute;
top: 0;
display: block;
}
.ui-panel-closed {
width: 0;
+ max-height: 100%;
overflow: hidden;
visibility: hidden;
}

0 comments on commit 5e3a5c6

Please sign in to comment.