Improve [0] arbitrary value support (#6259)
* test `text-[0]` instead of `w-[0]` * update changelog
This commit is contained in:
parent
078186a1ef
commit
ea139f20a2
4 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue