Don't reset ::first-letter in Preflight (#13408)

* Don't reset ::first-letter in Preflight

* Update changelog

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
This commit is contained in:
Adam Wathan 2024-03-30 08:06:53 -04:00 committed by GitHub
parent a79fa45bf2
commit 4aefd26f44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Enable Vite's `waitForRequestsIdle()` for client requests only ([#13394](https://github.com/tailwindlabs/tailwindcss/pull/13394))
- Make sure `::first-letter` respectes `::selection` styles ([#13408](https://github.com/tailwindlabs/tailwindcss/pull/13408))
## [4.0.0-alpha.11] - 2024-03-27

View File

@ -406,7 +406,7 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = `
}
@layer base {
*, :after, :before, ::backdrop, :first-letter {
*, :after, :before, ::backdrop {
box-sizing: border-box;
border: 0 solid;
margin: 0;

View File

@ -8,7 +8,6 @@
::after,
::before,
::backdrop,
::first-letter,
::file-selector-button {
box-sizing: border-box; /* 1 */
margin: 0; /* 2 */