mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
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:
parent
a79fa45bf2
commit
4aefd26f44
@ -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;
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
::after,
|
||||
::before,
|
||||
::backdrop,
|
||||
::first-letter,
|
||||
::file-selector-button {
|
||||
box-sizing: border-box; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user