Skip to content

Commit

Permalink
fix(QBtn): move .q-btn__progress--dark on the correct element quasarf…
Browse files Browse the repository at this point in the history
  • Loading branch information
pdanpdan authored May 7, 2022
1 parent 2db454d commit 4c9c351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/components/btn/QBtn.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,10 @@ export default createComponent({
if (props.loading === true && props.percentage !== void 0) {
child.push(
h('span', {
class: 'q-btn__progress absolute-full overflow-hidden'
class: 'q-btn__progress absolute-full overflow-hidden' + (props.darkPercentage === true ? ' q-btn__progress--dark' : '')
}, [
h('span', {
class: 'q-btn__progress-indicator fit block' + (props.darkPercentage === true ? ' q-btn__progress--dark' : ''),
class: 'q-btn__progress-indicator fit block',
style: percentageStyle.value
})
])
Expand Down

0 comments on commit 4c9c351

Please sign in to comment.