Skip to content

Commit

Permalink
Reset letter spacing for form elements
Browse files Browse the repository at this point in the history
Some browsers, such as Chrome, set `letter-spacing: normal` for form elements. For consistency with the other styles, it should be set to `inherit` by Preflight.
  • Loading branch information
Stadly committed Mar 8, 2024
1 parent d86fd0b commit f7c7cf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/css/preflight.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ textarea {
font-size: 100%; /* 1 */
font-weight: inherit; /* 1 */
line-height: inherit; /* 1 */
letter-spacing: inherit; /* 1 */
color: inherit; /* 1 */
margin: 0; /* 2 */
padding: 0; /* 3 */
Expand Down

0 comments on commit f7c7cf1

Please sign in to comment.