Clean changelog
This commit is contained in:
1 parent
ebd4542d59
commit
9c45de6842
18 files changed
-319
No files matched your search
@@ -1,32 +0,0 @@
|
||||
#### Fix formatting of long `:is`, `:where`, and `:not` selectors (#13577 by @j-f1)
|
||||
|
||||
Pseudo-selectors like `:is`, `:where`, and `:not` that can take multiple selectors as arguments are now formatted like function calls are in other languages. Previously, no special significance was attached to the commas between their “arguments,” leading to confusing wrapping behavior. There are likely still improvements to be made here — please open an issue with some example code if you find something that doesn’t look as expected.
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```css
|
||||
/* Input */
|
||||
:where(
|
||||
label > input:valid,
|
||||
label > textarea:not(:empty),
|
||||
label > button[disabled]
|
||||
) ~ .errors > .error { display: none; }
|
||||
|
||||
/* Prettier stable */
|
||||
:where(label > input:valid, label > textarea:not(:empty), label
|
||||
> button[disabled])
|
||||
~ .errors
|
||||
> .error {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Prettier main */
|
||||
:where(
|
||||
label > input:valid,
|
||||
label > textarea:not(:empty),
|
||||
label > button[disabled]
|
||||
)
|
||||
~ .errors
|
||||
> .error {
|
||||
display: none;
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user