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
<select>. That doesn't matter though, since padding-left and
padding-right are specifically set for <select> elements anyway.
This commit is contained in:
Samuel Mannehed 2022-12-12 14:40:08 +01:00
parent 3cf2bb9b59
commit 8c1b6e19c7
1 changed files with 1 additions and 8 deletions

View File

@ -47,7 +47,6 @@ select {
appearance: none; appearance: none;
background: none; background: none;
padding: 5px;
border: 1px solid rgb(192, 192, 192); border: 1px solid rgb(192, 192, 192);
border-bottom-width: 2px; border-bottom-width: 2px;
border-radius: 5px; border-radius: 5px;
@ -56,14 +55,8 @@ select {
/* This avoids it jumping around when :active */ /* This avoids it jumping around when :active */
vertical-align: middle; vertical-align: middle;
}
input[type=button], padding: 5px;
input[type=color],
input[type=reset],
input[type=submit],
input::file-selector-button,
button {
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
} }