Skip to content

Commit fee039d

Browse files
Inherit letter spacing in form controls (#13328)
* Inherit letter spacing in form controls * Update changelog * Update snapshots
1 parent 59038c5 commit fee039d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818

1919
- Remove percentage values for `translate-z` utilities ([#13321](https://github.com/tailwindlabs/tailwindcss/pull/13321), [#13327](https://github.com/tailwindlabs/tailwindcss/pull/13327))
2020
- `@tailwind/vite` now generates unique CSS bundle hashes when the Tailwind-generated CSS changes ([#13218](https://github.com/tailwindlabs/tailwindcss/pull/13218))
21+
- Inherit letter spacing in form controls ([#13328](https://github.com/tailwindlabs/tailwindcss/pull/13328))
2122

2223
## [4.0.0-alpha.10] - 2024-03-19
2324

packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
497497
font: inherit;
498498
font-feature-settings: inherit;
499499
font-variation-settings: inherit;
500+
letter-spacing: inherit;
500501
color: inherit;
501502
background: none;
502503
}
@@ -505,6 +506,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
505506
font: inherit;
506507
font-feature-settings: inherit;
507508
font-variation-settings: inherit;
509+
letter-spacing: inherit;
508510
color: inherit;
509511
background: none;
510512
}

packages/tailwindcss/preflight.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ textarea,
189189
font: inherit; /* 1 */
190190
font-feature-settings: inherit; /* 1 */
191191
font-variation-settings: inherit; /* 1 */
192+
letter-spacing: inherit; /* 1 */
192193
color: inherit; /* 1 */
193194
background: transparent; /* 2 */
194195
}

0 commit comments

Comments
 (0)