Skip to content

Commit f0a39cd

Browse files
committed
Fix appearance of extra key buttons
Since the extra keys panel is quite narrow in width, a max-width style resulted in the buttons almost disappearing. That rule was only intended for elements inside the settings panel. Broken by commit 14f9ea5. Another minor error that is also fixed by this commit is that the clipboard textarea no longer incorrectly gets a left margin of 6px. Fixes #1946.
1 parent a8dfd6a commit f0a39cd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/styles/base.css

+9-9
Original file line numberDiff line numberDiff line change
@@ -475,15 +475,6 @@ html {
475475
margin: 5px;
476476
}
477477

478-
.noVNC_panel button,
479-
.noVNC_panel select,
480-
.noVNC_panel textarea,
481-
.noVNC_panel input:not([type=checkbox]):not([type=radio]) {
482-
margin-left: 6px;
483-
/* Prevent inputs in panels from being too wide */
484-
max-width: calc(100% - 6px - var(--input-xpadding) * 2);
485-
}
486-
487478
.noVNC_panel .noVNC_heading {
488479
background-color: var(--novnc-blue);
489480
border-radius: 6px;
@@ -621,6 +612,15 @@ html {
621612
list-style: none;
622613
padding: 0px;
623614
}
615+
#noVNC_settings button,
616+
#noVNC_settings select,
617+
#noVNC_settings textarea,
618+
#noVNC_settings input:not([type=checkbox]):not([type=radio]) {
619+
margin-left: 6px;
620+
/* Prevent inputs in panels from being too wide */
621+
max-width: calc(100% - 6px - var(--input-xpadding) * 2);
622+
}
623+
624624
#noVNC_setting_port {
625625
width: 80px;
626626
}

0 commit comments

Comments
 (0)