fix(#777): autoresize does not work when reducing height

This commit is contained in:
Justineo
2024-04-22 11:00:56 +08:00
parent f07855df08
commit e189abd9c2
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
## 6.6.10
* Fixed that `autoresize` doesn't work when reducing the height or the root element.
## 6.6.9
* Fixed that the chart may not be the same size as the component root element ([#761](https://github.com/ecomfe/vue-echarts/issues/761)).

View File

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

View File

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