Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 8aff87f

Browse files
committed
fix: add logic for hiding the dropdown of protocol options
1 parent f3c30ab commit 8aff87f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

windows-rdp/devolutions-patch.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,14 @@ function hideFormForInitialSubmission() {
381381
$${cssOpacityVariableName}: 0;
382382
}
383383
384-
/* web-client-form is the container for the main session form */
385-
web-client-form {
384+
/*
385+
web-client-form is the container for the main session form, while
386+
the div is for the dropdown that is used for selecting the protocol.
387+
The dropdown is not inside of the form for CSS styling reasons, so we
388+
need to select both.
389+
*/
390+
web-client-form,
391+
body > div.p-overlay {
386392
opacity: calc(100% * var($${cssOpacityVariableName})) !important;
387393
}
388394
`;

0 commit comments

Comments
 (0)