Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix radio align problem in safari
- Loading branch information
Showing
with
8 additions
and
1 deletion.
-
+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; |
|
|
} |
|
|
} |