Skip to content

Commit

Permalink
fix(snippets): use class to decrease progress bar `transition-duratio…
Browse files Browse the repository at this point in the history
…n` (#681)
  • Loading branch information
SunsetTechuila authored Jan 25, 2024
1 parent 92c6f44 commit c885c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/snippets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export default [
{
"title": "Smooth Progress/Volume Bar",
"description": "Makes the Progress/Volume bar glide",
"code": "@property --progress-bar-transform { inherits: true; initial-value: 0%; syntax: '<percentage>'; } .progress-bar { transition: --progress-bar-transform 1s linear !important; } .progress-bar:active { transition-duration: 150ms !important; }",
"code": "@property --progress-bar-transform { inherits: true; initial-value: 0%; syntax: '<percentage>'; } .progress-bar { transition: --progress-bar-transform 1s linear !important; } .progress-bar--isDragging { transition-duration: 150ms !important; }",
"preview": "resources/assets/snippets/smooth-progress-bar.png",
},
{
Expand Down

0 comments on commit c885c1d

Please sign in to comment.