1👍
✅
Your CSS uses !important
:
.done-btn {
...
font-size: 1rem !important;
...
}
If you use !important
it will take precedence over inline styles.
Incidentally, this is not really the correct way to do this in Vue. You should apply the changes within the template via either class
or style
bindings rather than grabbing elements and changing them directly.
Source:stackexchange.com