Make interface airier by increasing line-height

Modern interfaces are less cramped, this makes noVNC feel more up to
date.

Note that this required some adjustments on noVNC_headings and
noVNC_connect_button since the text now takes up more height than the
images.
This commit is contained in:
Samuel Mannehed
2025-01-13 00:57:25 +01:00
parent 2bc505741f
commit 331ad34d90
2 changed files with 13 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ input::file-selector-button {
/* Respect standard font settings */
font: inherit;
line-height: 1.6;
}
input:disabled,
textarea:disabled,
@@ -85,7 +86,7 @@ textarea {
/* Make textareas show at minimum one line. This does not work when
using box-sizing border-box, in which case, vertical padding and
border width needs to be taken into account. */
min-height: 1em;
min-height: 1lh;
vertical-align: baseline; /* Firefox gives "text-bottom" by default */
}