Permalink
Browse files

Fix radio align problem in safari

  • Loading branch information...
afc163 committed Aug 11, 2018
1 parent 589415e commit 754a22ca24dee685666554778f53a5fe700959ff
Showing with 8 additions and 1 deletion.
  1. +8 −1 components/radio/style/index.less
@@ -30,7 +30,7 @@
display: inline-block;
position: relative;
line-height: 1;
vertical-align: text-bottom;
vertical-align: sub;
cursor: pointer;
.@{radio-prefix-cls}-wrapper:hover &,
&:hover,
@@ -295,3 +295,10 @@ span.@{radio-prefix-cls} + * {
opacity: 0;
}
}
// Firefox hack
@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal) {
.@{radio-prefix-cls} {
vertical-align: text-bottom;
}
}

0 comments on commit 754a22c

Please sign in to comment.