From a1e11e6d00da50f608c0de41ba7710232172ef48 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 11 Oct 2022 13:49:11 +0200 Subject: [PATCH] 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. --- app/styles/base.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/styles/base.css b/app/styles/base.css index 8e777925..0af30fd8 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),