mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-10-28 03:25:02 +08:00
fix: fix inner wrapper styles
This commit is contained in:
@ -307,6 +307,8 @@ export default defineComponent({
|
|||||||
) as any;
|
) as any;
|
||||||
attrs.ref = "root";
|
attrs.ref = "root";
|
||||||
attrs.class = attrs.class ? ["echarts"].concat(attrs.class) : "echarts";
|
attrs.class = attrs.class ? ["echarts"].concat(attrs.class) : "echarts";
|
||||||
return h(TAG_NAME, attrs, [h("div", { ref: "inner" })]);
|
return h(TAG_NAME, attrs, [
|
||||||
|
h("div", { ref: "inner", class: "echarts-inner" })
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
x-vue-echarts{display:block;width:100%;height:100%;min-width:0}x-vue-echarts>[_echarts_instance_]{width:100%;height:100%}
|
x-vue-echart,.echarts-inner{display:block;width:100%;height:100%;min-width:0}
|
||||||
|
|||||||
Reference in New Issue
Block a user