We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a0664 commit 2f1910eCopy full SHA for 2f1910e
src/ECharts.ts
@@ -308,7 +308,7 @@ export default defineComponent({
308
attrs.ref = "root";
309
attrs.class = attrs.class ? ["echarts"].concat(attrs.class) : "echarts";
310
return h(TAG_NAME, attrs, [
311
- h("div", { ref: "inner", class: "echarts-inner" })
+ h("div", { ref: "inner", class: "vue-echarts-inner" })
312
]);
313
}
314
});
src/style.css
@@ -1 +1,2 @@
1
-x-vue-echarts,.echarts-inner{display:block;width:100%;height:100%;min-width:0}
+x-vue-echarts{display:flex;flex-direction:column;width:100%;height:100%;min-width:0}
2
+.vue-echarts-inner{flex-grow:1;min-width:0}
0 commit comments