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 14f9ea5880.
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.
This commit is contained in:
@@ -475,15 +475,6 @@ html {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.noVNC_panel button,
|
||||
.noVNC_panel select,
|
||||
.noVNC_panel textarea,
|
||||
.noVNC_panel input:not([type=checkbox]):not([type=radio]) {
|
||||
margin-left: 6px;
|
||||
/* Prevent inputs in panels from being too wide */
|
||||
max-width: calc(100% - 6px - var(--input-xpadding) * 2);
|
||||
}
|
||||
|
||||
.noVNC_panel .noVNC_heading {
|
||||
background-color: var(--novnc-blue);
|
||||
border-radius: 6px;
|
||||
@@ -621,6 +612,15 @@ html {
|
||||
list-style: none;
|
||||
padding: 0px;
|
||||
}
|
||||
#noVNC_settings button,
|
||||
#noVNC_settings select,
|
||||
#noVNC_settings textarea,
|
||||
#noVNC_settings input:not([type=checkbox]):not([type=radio]) {
|
||||
margin-left: 6px;
|
||||
/* Prevent inputs in panels from being too wide */
|
||||
max-width: calc(100% - 6px - var(--input-xpadding) * 2);
|
||||
}
|
||||
|
||||
#noVNC_setting_port {
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user