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.
This commit is contained in:
Pierre Ossman
2022-10-11 13:49:11 +02:00
parent 615b36a067
commit a1e11e6d00

View File

@@ -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),