Skip to content

Commit 2002161

Browse files
committed
fix(Checkbox): remove focused style
1 parent a93fc2d commit 2002161

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/checkbox/main.scss

+2-5
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@
9494
}
9595

9696
&:not(.disabled):hover,
97-
&.hovered,
98-
&.focused {
97+
&.hovered {
9998
#{$checkbox-prefix}-inner {
10099
border-color: $checkbox-hovered-border-color;
101100
background-color: $checkbox-hovered-bg-color;
@@ -107,10 +106,8 @@
107106

108107
&.indeterminate:not(.disabled):hover,
109108
&.indeterminate:not(.disabled).hovered,
110-
&.indeterminate.focused,
111109
&.checked:not(.disabled):hover,
112-
&.checked:not(.disabled).hovered,
113-
&.checked.focused {
110+
&.checked:not(.disabled).hovered {
114111
#{$checkbox-prefix}-inner {
115112
border-color: $checkbox-checked-hovered-border-color;
116113
background-color: $checkbox-checked-hovered-bg-color;

src/tab/main.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
&-tabpane {
101101
visibility: hidden;
102102
opacity: 0;
103-
height: 0;
104103

105104
&.active {
106105
visibility: visible;
@@ -110,6 +109,7 @@
110109

111110
&.hidden {
112111
overflow: hidden;
112+
height: 0 !important;
113113
margin: 0 !important;
114114
padding: 0 !important;
115115
border: 0 !important;

0 commit comments

Comments
 (0)