Improve [0] arbitrary value support (#6259)

* test `text-[0]` instead of `w-[0]`

* update changelog
This commit is contained in:
Robin Malfait 2021-12-03 19:23:01 +01:00 • committed by GitHub
parent 078186a1ef
commit ea139f20a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View file

@ -764,6 +764,9 @@
.font-\[\'Some_Font\'\2c var\(--other-font\)\] {
font-family: 'Some Font', var(--other-font);
}
.text-\[0\] {
font-size: 0;
}
.text-\[2\.23rem\] {
font-size: 2.23rem;
}

View file

@ -278,6 +278,7 @@
<div class="font-[var(--font1),var(--font2)]"></div>
<div class="font-[invalid_font_because_spaces]"></div>
<div class="text-[0]"></div>
<div class="text-[2.23rem]"></div>
<div class="text-[length:var(--font-size)]"></div>
<div class="text-[angle:var(--angle)]"></div>