Skip to content

Commit 2bf87b0

Browse files
committed
fix(ui): fix styles
1 parent 0b5936f commit 2bf87b0

File tree

6 files changed

+12
-2
lines changed

6 files changed

+12
-2
lines changed

packages/ui/src/styles/components/checkbox.scss

+2
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@
161161
position: absolute;
162162
inset: 0;
163163
z-index: 5;
164+
width: 100%;
165+
height: 100%;
164166
margin: 0;
165167
cursor: inherit;
166168
border: 1px solid var(--#{$rd-prefix}color-border);

packages/ui/src/styles/components/mixins/_footer.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
border-top: 1px solid var(--#{$rd-prefix}color-divider);
99

1010
@include m(left) {
11-
justify-content: left;
11+
justify-content: flex-start;
1212
}
1313

1414
@include m(right) {
15-
justify-content: right;
15+
justify-content: flex-end;
1616
}
1717

1818
@include m(center) {

packages/ui/src/styles/components/radio.scss

+2
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@
152152
position: absolute;
153153
inset: 0;
154154
z-index: 1;
155+
width: 100%;
156+
height: 100%;
155157
margin: 0;
156158
cursor: inherit;
157159
border: 1px solid var(--#{$rd-prefix}color-border);

packages/ui/src/styles/components/rating.scss

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
position: absolute;
5151
inset: 0;
5252
z-index: 1;
53+
width: 100%;
54+
height: 100%;
5355
margin: 0;
5456
cursor: pointer;
5557
appearance: none;

packages/ui/src/styles/components/slider.scss

+2
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@
159159
@include e(input) {
160160
position: absolute;
161161
inset: 0;
162+
width: 100%;
163+
height: 100%;
162164
padding: 0;
163165
margin: 0;
164166
overflow: hidden;

packages/ui/src/styles/components/switch.scss

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
position: absolute;
6060
inset: 0;
6161
z-index: 5;
62+
width: 100%;
63+
height: 100%;
6264
margin: 0;
6365
cursor: pointer;
6466
opacity: 0;

0 commit comments

Comments
 (0)