You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/08/25 06:07:41 UTC
[incubator-echarts-doc] branch master updated: fix(live-preview):
add `position: relative` to make its child DOM elements with absolute
positioning layout correctly. such as `DataView`.
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new be9690c fix(live-preview): add `position: relative` to make its child DOM elements with absolute positioning layout correctly. such as `DataView`.
new 37d8bb9 Merge pull request #129 from plainheart/tweak-live-example-layout
be9690c is described below
commit be9690cc06c11b0f31a70e9e7740e6ab6cab5dcf
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Aug 25 09:30:35 2020 +0800
fix(live-preview): add `position: relative` to make its child DOM elements with absolute positioning layout correctly.
such as `DataView`.
---
src/components/LiveExample.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/components/LiveExample.vue b/src/components/LiveExample.vue
index 0881f35..2be4d69 100644
--- a/src/components/LiveExample.vue
+++ b/src/components/LiveExample.vue
@@ -413,6 +413,7 @@ export default {
top: 0;
}
.preview-main {
+ position: relative;
padding: 0 10px;
background: #fefefe;
box-sizing: border-box;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org