Skip to content

Commit

Permalink
fix(ui): fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Mar 9, 2023
1 parent 0b5936f commit 2bf87b0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/styles/components/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@
position: absolute;
inset: 0;
z-index: 5;
width: 100%;
height: 100%;
margin: 0;
cursor: inherit;
border: 1px solid var(--#{$rd-prefix}color-border);
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/styles/components/mixins/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
border-top: 1px solid var(--#{$rd-prefix}color-divider);

@include m(left) {
justify-content: left;
justify-content: flex-start;
}

@include m(right) {
justify-content: right;
justify-content: flex-end;
}

@include m(center) {
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/styles/components/radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
height: 100%;
margin: 0;
cursor: inherit;
border: 1px solid var(--#{$rd-prefix}color-border);
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/styles/components/rating.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
position: absolute;
inset: 0;
z-index: 1;
width: 100%;
height: 100%;
margin: 0;
cursor: pointer;
appearance: none;
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/styles/components/slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@
@include e(input) {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/styles/components/switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
position: absolute;
inset: 0;
z-index: 5;
width: 100%;
height: 100%;
margin: 0;
cursor: pointer;
opacity: 0;
Expand Down

0 comments on commit 2bf87b0

Please sign in to comment.