Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3901509
commit 8570140
Showing
6 changed files
with
137 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#### Fix LESS/SCSS format error (#12536 by @fisker) | ||
|
||
<!-- prettier-ignore --> | ||
```less | ||
// Input | ||
.background-gradient(@cut) { | ||
background: linear-gradient( | ||
to right, | ||
@white 0%, | ||
@white (@cut - 0.01%), | ||
@portal-background @cut, | ||
@portal-background 100% | ||
); | ||
} | ||
|
||
// Prettier stable | ||
TypeError: Cannot read properties of undefined (reading 'endOffset') | ||
|
||
// Prettier main | ||
.background-gradient(@cut) { | ||
background: linear-gradient( | ||
to right, | ||
@white 0%, | ||
@white (@cut - 0.01%), | ||
@portal-background @cut, | ||
@portal-background 100% | ||
); | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.background-gradient(@cut) { | ||
background: linear-gradient( | ||
to right, | ||
|
||
|
||
/* Should preserve empty lines */ | ||
@white 0%, | ||
@white (@cut - 0.01%), | ||
@portal-background @cut, | ||
@portal-background 100% | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$icons: ( | ||
cal-day-group: | ||
( | ||
left: 253, | ||
top: 73, | ||
), | ||
|
||
|
||
/* Should preserve empty lines */ | ||
cal-week-group: | ||
( | ||
left: 1, | ||
top: 169, | ||
) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters