Skip to content

Commit

Permalink
fix(ui): fix input no size in old browser
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Mar 10, 2023
1 parent a76659a commit f553aaf
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 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 @@ -173,6 +173,8 @@
bottom: 0;
left: 0;
z-index: 5;
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/radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@
bottom: 0;
left: 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 @@ -53,6 +53,8 @@
bottom: 0;
left: 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 @@ -162,6 +162,8 @@
right: 0;
bottom: 0;
left: 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 @@ -62,6 +62,8 @@
bottom: 0;
left: 0;
z-index: 5;
width: 100%;
height: 100%;
margin: 0;
cursor: pointer;
opacity: 0;
Expand Down

0 comments on commit f553aaf

Please sign in to comment.