This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 3ae0586  fix editor height wrong on safari
3ae0586 is described below

commit 3ae0586fba147cfb44ffb6e96a6919c4e3fb0ce9
Author: Yi Shen <[email protected]>
AuthorDate: Fri Jan 8 17:46:49 2021 +0800

    fix editor height wrong on safari
---
 next/examples/css/example-bundle.css | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/next/examples/css/example-bundle.css 
b/next/examples/css/example-bundle.css
index 65154f4..b600525 100644
--- a/next/examples/css/example-bundle.css
+++ b/next/examples/css/example-bundle.css
@@ -3,7 +3,12 @@
   font-size: 12px;
   line-height: 18px;
   padding: 10px;
-  height: 100%;
+  
+  position: absolute;
+  left: 0;
+  top: 0;
+  bottom: 0;
+  right: 0;
 }
 
 #chart-panel {
@@ -100,14 +105,22 @@
   font-size: 12px;
   padding: 0;
   overflow-y: hidden;
-  height: 100%;
+  position: absolute;
+  left: 0;
+  top: 0;
+  bottom: 0;
+  right: 0;
 }
 
 .full-code-preview {
   font-family: 'Source Code Pro', 'Monaco', 'Menlo', 'Ubuntu Mono', 
'Consolas', monospace;
   font-size: 12px;
   line-height: 18px;
-  height: 100%;
+  position: absolute;
+  left: 0;
+  top: 0;
+  bottom: 0;
+  right: 0;
 }
 
 .object-visualizer {
@@ -259,7 +272,11 @@
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }
 #option-outline {
-  height: 100%;
+  position: absolute;
+  left: 0;
+  top: 0;
+  bottom: 0;
+  right: 0;
   font-size: 13px;
   font-family: 'Source Code Pro', 'Monaco', 'Menlo', 'Ubuntu Mono', 
'Consolas', monospace;
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to