From 8c1b6e19c781ea5265aec335ad134584f29402a5 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Mon, 12 Dec 2022 14:40:08 +0100 Subject: [PATCH] Combine rules for buttons in input.css It was completely unnecessary that these two were separate, lets combine them. The only difference was that the lower rule didn't apply for elements anyway. --- app/styles/input.css | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/styles/input.css b/app/styles/input.css index 8ea38c2b..5985b175 100644 --- a/app/styles/input.css +++ b/app/styles/input.css @@ -47,7 +47,6 @@ select { appearance: none; background: none; - padding: 5px; border: 1px solid rgb(192, 192, 192); border-bottom-width: 2px; border-radius: 5px; @@ -56,14 +55,8 @@ select { /* This avoids it jumping around when :active */ vertical-align: middle; -} -input[type=button], -input[type=color], -input[type=reset], -input[type=submit], -input::file-selector-button, -button { + padding: 5px; padding-left: 20px; padding-right: 20px; }