Skip to content

Commit 37b35f4

Browse files
committed
update transition styles
Signed-off-by: Maksim Sukharev <[email protected]>
1 parent ca8e44f commit 37b35f4

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)