Skip to content

Commit

Permalink
fix: Card slow perfermance when use with react-split (#24425)
Browse files Browse the repository at this point in the history
close #23654
  • Loading branch information
afc163 committed May 24, 2020
1 parent 77bc48f commit e0f57e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/card/style/index.less
Expand Up @@ -14,14 +14,15 @@
position: relative;
background: @card-background;
border-radius: @card-radius;
transition: all 0.3s;

&-rtl {
direction: rtl;
}

&-hoverable {
cursor: pointer;
transition: box-shadow 0.3s, border-color 0.3s;

&:hover {
border-color: @card-hoverable-hover-border;
box-shadow: @card-shadow;
Expand Down

0 comments on commit e0f57e7

Please sign in to comment.