Skip to content

Commit d5ea772

Browse files
Merge pull request #3697 from nextcloud/fix/3689/update-button-transition-styles
Fix: update transition styles for NcButton
2 parents 47861e8 + 37b35f4 commit d5ea772

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/NcButton/NcButton.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,9 @@ export default {
422422
cursor: pointer;
423423
}
424424
border-radius: math.div($clickable-area, 2);
425-
transition: background-color 0.1s linear !important;
426-
transition: border 0.1s linear;
425+
transition-property: color, border-color, background-color;
426+
transition-duration: 0.1s;
427+
transition-timing-function: linear;
427428
428429
// No outline feedback for focus. Handled with a toggled class in js (see data)
429430
&:focus {

0 commit comments

Comments
 (0)