Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Commit dc262c6

Browse files
committed
Consolidate styles for form field/textarea padding. Props @emiluzelac
Consolidate styles for form field/textarea padding. Props @emiluzelac
2 parents cd2b6b3 + 6844caf commit dc262c6

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

style.css

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ textarea {
470470
color: #666;
471471
border: 1px solid #ccc;
472472
border-radius: 3px;
473+
padding: 3px;
473474
}
474475

475476
select {
@@ -495,26 +496,7 @@ textarea:focus {
495496
color: #111;
496497
}
497498

498-
input[type="text"],
499-
input[type="email"],
500-
input[type="url"],
501-
input[type="password"],
502-
input[type="search"],
503-
input[type="number"],
504-
input[type="tel"],
505-
input[type="range"],
506-
input[type="date"],
507-
input[type="month"],
508-
input[type="week"],
509-
input[type="time"],
510-
input[type="datetime"],
511-
input[type="datetime-local"],
512-
input[type="color"] {
513-
padding: 3px;
514-
}
515-
516499
textarea {
517-
padding-left: 3px;
518500
width: 100%;
519501
}
520502

0 commit comments

Comments
 (0)