Skip to content

Commit 0a48268

Browse files
authored
fix(alert): target custom transition CSS to the alert component (#2205)
Just so that the CSS doesn't override any user's custom fade CSS definitions
1 parent dc4d226 commit 0a48268

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/components/alert/alert.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
.fade-enter-active, .fade-leave-active {
2-
transition: opacity .15s linear;
3-
}
4-
.fade-enter, .fade-leave-to {
5-
opacity: 0;
6-
}
1+
.alert.fade-enter-active,
2+
.alert.fade-leave-active {
3+
transition: opacity .15s linear;
4+
}
5+
.alert.fade-enter,
6+
.alert.fade-leave-to {
7+
opacity: 0;
8+
}

0 commit comments

Comments
 (0)