fix: fix padding style

This commit is contained in:
Justineo
2024-06-04 23:11:22 +08:00
parent e651d32334
commit 16f3f4b419
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
## 6.7.3
* Fixed that `padding` on the component root doesn't work.
## 6.7.2
* Fixed that charts inside `<keep-alive>` failed to display after activation.

View File

@ -1,6 +1,6 @@
{
"name": "vue-echarts",
"version": "6.7.2",
"version": "6.7.3",
"description": "Vue.js component for Apache ECharts™.",
"author": "GU Yiling <justice360@gmail.com>",
"scripts": {

View File

@ -1,2 +1,2 @@
x-vue-echarts{display:block;position:relative;width:100%;height:100%;min-width:0}
.vue-echarts-inner{position:absolute!important;top:0;right:0;bottom:0;left:0}
x-vue-echarts{display:flex;flex-direction:column;width:100%;height:100%;min-width:0}
.vue-echarts-inner{flex-grow:1;min-width:0;width:auto!important;height:auto!important}