Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 3851646

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.
1 parent 25ab442 commit 3851646

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css/structure/jquery.mobile.panel.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
.ui-panel {
33
width: 17em;
44
min-height: 100%;
5+
max-height: none;
56
border-width: 0;
67
position: absolute;
78
top: 0;
89
display: block;
910
}
1011
.ui-panel-closed {
1112
width: 0;
13+
max-height: 100%;
1214
overflow: hidden;
1315
visibility: hidden;
1416
}

0 commit comments

Comments
 (0)