update src/components/Checkbox/index.js and src/components/Checkbox/index.scss

master
mahdi 3 years ago
parent 6d900d0a43
commit f619867153
  1. 5
      src/components/Checkbox/index.js
  2. 5
      src/components/Checkbox/index.scss

@ -30,7 +30,10 @@ export default function Checkbox(props) {
style={{ padding: "6px 8px" }} style={{ padding: "6px 8px" }}
htmlFor="apples" htmlFor="apples"
> >
<span> <span
className="align-bottom"
style={{ transform: "translate3d(0, 0, 0)" }}
>
<svg width="12px" height="10px"> <svg width="12px" height="10px">
<use xlinkHref="#check"></use> <use xlinkHref="#check"></use>
</svg> </svg>

@ -6,11 +6,6 @@
margin-right: 6px; margin-right: 6px;
} }
.checkbox span {
vertical-align: middle;
transform: translate3d(0, 0, 0);
}
.checkbox span:first-child { .checkbox span:first-child {
position: relative; position: relative;
flex: 0 0 18px; flex: 0 0 18px;

Loading…
Cancel
Save