mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-07 21:19:45 +08:00
[bugfix] Circle: incorrect style in android devices (#2062)
This commit is contained in:
parent
d1cad717f2
commit
33561bfbc2
@ -26,10 +26,7 @@ export default create({
|
|||||||
disabled: Boolean,
|
disabled: Boolean,
|
||||||
checkedColor: String,
|
checkedColor: String,
|
||||||
labelPosition: String,
|
labelPosition: String,
|
||||||
labelDisabled: {
|
labelDisabled: Boolean,
|
||||||
type: Boolean,
|
|
||||||
default: false
|
|
||||||
},
|
|
||||||
shape: {
|
shape: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'round'
|
default: 'round'
|
||||||
|
@ -19,7 +19,9 @@
|
|||||||
stroke-dasharray: 3140;
|
stroke-dasharray: 3140;
|
||||||
stroke-dashoffset: 3140;
|
stroke-dashoffset: 3140;
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
transform-origin: center;
|
// should not use transform-origin: center
|
||||||
|
// that will cause incorrect style in android devices
|
||||||
|
transform-origin: 530px 530px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__text {
|
&__text {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user