Fix spacing between elements in dialogs

Dialogs have had text inputs and buttons cramped together without space
between, this fixes that.
This commit is contained in:
Samuel Mannehed
2025-01-13 16:18:03 +01:00
parent 4ab4286b25
commit b5675bb5f6
2 changed files with 21 additions and 8 deletions

View File

@@ -456,6 +456,7 @@ html {
.noVNC_panel hr {
border: none;
border-top: 1px solid var(--novnc-lightgrey);
width: 100%; /* <hr> inside a flexbox will otherwise be 0px wide */
}
.noVNC_panel label {
@@ -493,8 +494,20 @@ html {
vertical-align: bottom;
}
.noVNC_submit {
float: right;
.noVNC_panel form {
display: flex;
flex-direction: column;
gap: 12px
}
.noVNC_panel .button_row {
margin-top: 10px;
display: flex;
gap: 10px;
justify-content: space-between;
}
.noVNC_panel .button_row *:only-child {
margin-left: auto; /* Align single buttons to the right */
}
/* Expanders */