mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
refactor(components): [loading] change viewBox default value (#9769)
This commit is contained in:
@@ -80,14 +80,14 @@ export function createLoadingComponent(options: LoadingOptionsResolved) {
|
||||
'svg',
|
||||
{
|
||||
class: 'circular',
|
||||
viewBox: data.svgViewBox ? data.svgViewBox : '25 25 50 50',
|
||||
viewBox: data.svgViewBox ? data.svgViewBox : '0 0 50 50',
|
||||
...(svg ? { innerHTML: svg } : {}),
|
||||
},
|
||||
[
|
||||
h('circle', {
|
||||
class: 'path',
|
||||
cx: '50',
|
||||
cy: '50',
|
||||
cx: '25',
|
||||
cy: '25',
|
||||
r: '20',
|
||||
fill: 'none',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user