Skip to content

Commit

Permalink
fix(#777): autoresize does not work when reducing height
Browse files Browse the repository at this point in the history
  • Loading branch information
Justineo committed Apr 22, 2024
1 parent f07855d commit e189abd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit e189abd

Please sign in to comment.