Explicitly set the SVG width and height

This commit is contained in:
jiaming743
2019-07-05 13:49:42 +08:00
parent 72433f8ff1
commit 6d4baac3b6
10 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="dv-border-box-9" :ref="ref">
<svg class="dv-svg-container">
<svg class="dv-svg-container" :width="width" :height="height">
<defs>
<linearGradient :id="gradientId" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#11eefd" />