Skip to content

Commit

Permalink
Stop setting margin on input elements
Browse files Browse the repository at this point in the history
Margins behave badly on inline elements, so let's try to avoid using
them. Margins should be handled by the block elements anyway.
  • Loading branch information
CendioOssman committed Oct 11, 2022
1 parent 615b36a commit a1e11e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ textarea {
-moz-appearance: none;
background: none;

margin: 2px;
padding: 2px;
border: 1px solid rgb(192, 192, 192);
border-radius: 5px;
Expand All @@ -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;
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit a1e11e6

Please sign in to comment.