Skip to content

Commit

Permalink
refactor(plugin): update file-upload-complete variant selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
PruthviPraj00 committed Oct 1, 2024
1 parent b1ae905 commit 03306d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,12 @@ module.exports = plugin(function ({ addVariant, e }) {
addVariant('file-upload-complete', [
({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.dz-complete .${e(`file-upload-complete${separator}${className}`)}`
return `.complete .${e(`file-upload-complete${separator}${className}`)}`
})
},
({ modifySelectors, separator }) => {
modifySelectors(({ className }) => {
return `.complete.${e(`file-upload-complete${separator}${className}`)}`
})
}
])
Expand Down

0 comments on commit 03306d3

Please sign in to comment.