Skip to content

Commit

Permalink
fix: sticky prefix order (#565)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
  • Loading branch information
UltraCakeBakery and antfu committed Dec 13, 2021
1 parent 75e2255 commit a53dea4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/utilities/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@ export const staticUtilities: StaticUtility = {
'sticky': {
'utility': {
'position': [
'sticky',
'-webkit-sticky',
'sticky',
],
},
'meta': {
Expand Down
4 changes: 2 additions & 2 deletions test/processor/__snapshots__/attributify.test.ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1902,8 +1902,8 @@ Tools / with pos utility / css / 0: |-
position: relative;
}
[pos~="sticky"] {
position: sticky;
position: -webkit-sticky;
position: sticky;
}
[pos~="inset-1"] {
top: 0.25rem;
Expand Down Expand Up @@ -1984,8 +1984,8 @@ Tools / with position utility / css / 0: |-
position: relative;
}
[position~="sticky"] {
position: sticky;
position: -webkit-sticky;
position: sticky;
}
[position~="inset-1"] {
top: 0.25rem;
Expand Down

0 comments on commit a53dea4

Please sign in to comment.