Skip to content

Commit 56aaaae

Browse files
committed
fix: [Button] fix hover
1 parent e23f952 commit 56aaaae

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

src/components/Button/style.less

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,6 @@
5151
border-color: var(--brand-1);
5252
color: var(--brand-1);
5353
}
54-
&--text {
55-
padding: 0;
56-
border: 0;
57-
background: transparent;
58-
color: var(--link-color);
59-
font-size: inherit;
60-
vertical-align: initial;
61-
62-
&:hover,
63-
&:active {
64-
background: transparent;
65-
}
66-
}
6754
&--sm {
6855
padding: @btn-padding-sm;
6956
// border-radius: @btn-border-radius-sm;
@@ -98,3 +85,17 @@
9885
}
9986
}
10087
}
88+
89+
.Btn--text {
90+
padding: 0;
91+
border: 0;
92+
background: transparent;
93+
color: var(--link-color);
94+
font-size: inherit;
95+
vertical-align: initial;
96+
97+
&:hover,
98+
&:active {
99+
background: transparent;
100+
}
101+
}

0 commit comments

Comments
 (0)