Skip to content

Commit

Permalink
fix(css): Fix scroll() definition format (#701)
Browse files Browse the repository at this point in the history
The definition was oddly formatted, which caused my parser to break.

### Description

The declaration was not properly formatted.

### Motivation

Im writing a strict parser for this format and it failed.

### Additional details

None

### Related issues and pull requests

None
  • Loading branch information
levvij authored Jan 8, 2024
1 parent 34ce070 commit 60fd71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@
"syntax": "scaleZ( [ <number> | <percentage> ] )"
},
"scroll()": {
"syntax": "scroll([<axis> || <scroller>]?)"
"syntax": "scroll( [ <axis> || <scroller> ]? )"
},
"scroller": {
"syntax": "root | nearest"
Expand Down

0 comments on commit 60fd71f

Please sign in to comment.