Skip to content

Commit 0686e8a

Browse files
Samuell1marcosmoura
authored andcommitted
fix(MdProgressSpinner): fix firefox radius (vuematerial#1221)
Firefox doesnt like `r` CSS, change to attribute instead
1 parent ac76cd7 commit 0686e8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/MdProgress/MdProgressSpinner/MdProgressSpinner.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
focusable="false"
88
:viewBox="`0 0 ${mdDiameter} ${mdDiameter}`"
99
:style="svgStyles">
10-
<circle class="md-progress-spinner-circle" cx="50%" cy="50%" :style="circleStyles"></circle>
10+
<circle class="md-progress-spinner-circle" cx="50%" cy="50%" :r="circleRadius" :style="circleStyles"></circle>
1111
</svg>
1212
</div>
1313
</transition>
@@ -79,7 +79,6 @@
7979
},
8080
circleStyles () {
8181
return {
82-
r: this.circleRadius,
8382
'stroke-dashoffset': this.circleStrokeDashOffset,
8483
'stroke-dasharray': this.circleStrokeDashArray,
8584
'stroke-width': this.circleStrokeWidth,

0 commit comments

Comments
 (0)