Skip to content

Commit ea90d3a

Browse files
Reset letter spacing for form elements (#13150)
* Reset letter spacing for form elements 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. * wip * Update changelog --------- Co-authored-by: Jordan Pittman <[email protected]>
1 parent b10b431 commit ea90d3a

File tree

3 files changed

+214
-211
lines changed

3 files changed

+214
-211
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- Ensure dashes are allowed in variant modifiers ([#13303](https://github.com/tailwindlabs/tailwindcss/pull/13303))
1818
- Fix crash showing completions in Intellisense when using a custom separator ([#13306](https://github.com/tailwindlabs/tailwindcss/pull/13306))
1919
- Transpile `import.meta.url` in config files ([#13322](https://github.com/tailwindlabs/tailwindcss/pull/13322))
20+
- Reset letter spacing for form elements ([#13150](https://github.com/tailwindlabs/tailwindcss/pull/13150))
2021

2122
## [3.4.1] - 2024-01-05
2223

src/css/preflight.css

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ textarea {
175175
font-size: 100%; /* 1 */
176176
font-weight: inherit; /* 1 */
177177
line-height: inherit; /* 1 */
178+
letter-spacing: inherit; /* 1 */
178179
color: inherit; /* 1 */
179180
margin: 0; /* 2 */
180181
padding: 0; /* 3 */

0 commit comments

Comments
 (0)