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

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

* Update changelog

---------

Co-authored-by: Adam Wathan <[email protected]>
This commit is contained in:
Adam Wathan
2024-03-30 08:06:53 -04:00
committed by GitHub
co-authored by Adam Wathan
parent e4cce7e5b4
commit dcf1881029
3 changed files with 2 additions and 2 deletions
+1
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
@@ -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;
-1
View File
@@ -8,7 +8,6 @@
::after,
::before,
::backdrop,
::first-letter,
::file-selector-button {
box-sizing: border-box; /* 1 */
margin: 0; /* 2 */