Skip to content

Commit 66f96db

Browse files
committed
fix(utils): gestion dans les @Keyframes pour les balises <style scoped> des indications de pourcentages pour une animation
1 parent 0f87c89 commit 66f96db

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/js/utils/css.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export function scopeStyles(htmlString, prefix) {
3333
if (
3434
sel.startsWith("@") ||
3535
sel.startsWith("from") ||
36-
sel.startsWith("to")
36+
sel.startsWith("to") ||
37+
sel.endsWith("%")
3738
)
3839
return sel;
3940

app/script.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/script.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)