fix graph (#55)

This commit is contained in:
Fine0830
2022-04-02 15:18:44 +08:00
committed by GitHub
parent f19bcc856d
commit 8d87777832
2 changed files with 10 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
<template>
<div ref="chartRef" :style="`height:${height};width:${width};`">
<div class="chart" ref="chartRef" :style="`height:${height};width:${width};`">
<div v-if="!available" class="no-data">No Data</div>
</div>
</template>
@@ -98,4 +98,8 @@ onBeforeUnmount(() => {
-webkit-box-align: center;
color: #666;
}
.chart {
overflow: hidden;
}
</style>