mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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,
|
||||
checkedColor: String,
|
||||
labelPosition: String,
|
||||
labelDisabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
labelDisabled: Boolean,
|
||||
shape: {
|
||||
type: String,
|
||||
default: 'round'
|
||||
|
@ -19,7 +19,9 @@
|
||||
stroke-dasharray: 3140;
|
||||
stroke-dashoffset: 3140;
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user