From 9191a9f9eade26efbab7828005daab0e0a30f5b3 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 7 Aug 2019 11:35:19 -0700 Subject: [PATCH] GUACAMOLE-630: Always expand connection parameters to available width, not just within Guacamole menu. --- .../src/main/webapp/app/client/styles/guac-menu.css | 13 ------------- .../app/manage/styles/connection-parameter.css | 4 ++++ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/guacamole/src/main/webapp/app/client/styles/guac-menu.css b/guacamole/src/main/webapp/app/client/styles/guac-menu.css index 3a9d8fff8..9e0fb7ca7 100644 --- a/guacamole/src/main/webapp/app/client/styles/guac-menu.css +++ b/guacamole/src/main/webapp/app/client/styles/guac-menu.css @@ -199,16 +199,3 @@ font-weight: bold; } - -#guac-menu #connection-settings .form .fields { - width: 100%; -} - -#guac-menu #connection-settings .form .fields .field-header { - width: 0; - white-space: nowrap; -} - -#guac-menu #connection-settings .form .fields .form-field { - width: 100%; -} diff --git a/guacamole/src/main/webapp/app/manage/styles/connection-parameter.css b/guacamole/src/main/webapp/app/manage/styles/connection-parameter.css index 8fe19d691..c5645fb36 100644 --- a/guacamole/src/main/webapp/app/manage/styles/connection-parameter.css +++ b/guacamole/src/main/webapp/app/manage/styles/connection-parameter.css @@ -29,6 +29,7 @@ display: table; padding-left: .5em; border-left: 3px solid rgba(0,0,0,0.125); + width: 100%; } .connection-parameters .form .fields .labeled-field { @@ -40,8 +41,11 @@ display: table-cell; padding: 0.125em; vertical-align: top; + width: 100%; } .connection-parameters .form .fields .field-header { padding-right: 1em; + width: 0; + white-space: nowrap; }