diff --git a/guacamole/src/main/webapp/app/client/styles/menu.css b/guacamole/src/main/webapp/app/client/styles/menu.css index dd96408cc..f3f324025 100644 --- a/guacamole/src/main/webapp/app/client/styles/menu.css +++ b/guacamole/src/main/webapp/app/client/styles/menu.css @@ -21,10 +21,10 @@ */ #menu { - overflow: auto; + overflow: hidden; position: absolute; top: 0; - bottom: 0; + height: 100%; max-width: 100%; width: 480px; background: #EEE; @@ -37,6 +37,43 @@ transition: left 0.125s, opacity 0.125s; } +.menu-content { + overflow: hidden; + display: table; + table-layout: fixed; + width: 100%; + height: 100%; +} + +.menu-header { + display: table-row; + height: 0; +} + +.menu-header h2 { + margin-bottom: 0; +} + +.menu-body { + display: table-row; + height: 100%; +} + +.menu-body-content { + position: relative; + width: 100%; + height: 100%; +} + +.menu-body-scroll-region { + overflow: auto; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; +} + #menu h3 { margin: 1em; } diff --git a/guacamole/src/main/webapp/app/client/templates/client.html b/guacamole/src/main/webapp/app/client/templates/client.html index aa2d5c294..685045312 100644 --- a/guacamole/src/main/webapp/app/client/templates/client.html +++ b/guacamole/src/main/webapp/app/client/templates/client.html @@ -43,7 +43,7 @@
- +
@@ -51,88 +51,102 @@ -