Skip to content
This repository
Browse code

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...
commit 5e3a5c6491aafcf9ad6ede7d506b17a1423480fa 1 parent fce01d1
Jasper de Groot jaspermdegroot authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  css/structure/jquery.mobile.panel.css
2  css/structure/jquery.mobile.panel.css
@@ -2,6 +2,7 @@
2 2 .ui-panel {
3 3 width: 17em;
4 4 min-height: 100%;
  5 + max-height: none;
5 6 border-width: 0;
6 7 position: absolute;
7 8 top: 0;
@@ -9,6 +10,7 @@
9 10 }
10 11 .ui-panel-closed {
11 12 width: 0;
  13 + max-height: 100%;
12 14 overflow: hidden;
13 15 visibility: hidden;
14 16 }

0 comments on commit 5e3a5c6

Please sign in to comment.
Something went wrong with that request. Please try again.