summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-10-11 13:49:11 +0200
committerPierre Ossman <ossman@cendio.se>2022-10-11 13:49:11 +0200
commita1e11e6d00da50f608c0de41ba7710232172ef48 (patch)
treeddbde876b4726542ec012dbea93f0d116ba85221
parent615b36a067c9e99a5646d42521efcea7ade7c345 (diff)
downloadnovnc-a1e11e6d00da50f608c0de41ba7710232172ef48.tar.gz
Stop setting margin on input elements
Margins behave badly on inline elements, so let's try to avoid using them. Margins should be handled by the block elements anyway.
-rw-r--r--app/styles/base.css4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/styles/base.css b/app/styles/base.css
index 8e77792..0af30fd 100644
--- a/app/styles/base.css
+++ b/app/styles/base.css
@@ -117,7 +117,6 @@ textarea {
-moz-appearance: none;
background: none;
- margin: 2px;
padding: 2px;
border: 1px solid rgb(192, 192, 192);
border-radius: 5px;
@@ -135,7 +134,6 @@ select {
-moz-appearance: none;
background: none;
- margin: 2px;
padding: 2px;
border: 1px solid rgb(192, 192, 192);
border-bottom-width: 2px;
@@ -220,7 +218,7 @@ input[type=reset]:active,
input[type=submit]:active,
select:active {
border-bottom-width: 1px;
- margin-top: 3px;
+ margin-top: 1px;
}
:root:not(.noVNC_touch) input[type=button]:hover:not(:disabled),