Commit dc9e786
Add details about
In v4 we made a change that makes elements with a hidden attribute
`display: none !important`. A consequence of this is that `<div hidden
class="block">test</div>` will be invisible in v4 where it was visible
in v3.
The intent is that you must *remove* this attribute if the element isn't
actually meant to be hidden but we didn't document this in the upgrade
guide or the preflight page.
Closes tailwindlabs/tailwindcss#18653
---------
Co-authored-by: Philipp Spiess <[email protected]>
Co-authored-by: Nicolas <[email protected]>hidden attribute preflight rules (#2321)1 parent c7dadc3 commit dc9e786
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
184 | 195 | | |
185 | 196 | | |
186 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
567 | 571 | | |
568 | 572 | | |
569 | 573 | | |
| |||
0 commit comments