This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-examples.git
The following commit(s) were added to refs/heads/next by this push:
new 466bcd8 fix apache/incubator-echarts#13990
466bcd8 is described below
commit 466bcd8c7dbcce5f3f7cfd7d1d37dc992fd57991
Author: pissang <[email protected]>
AuthorDate: Fri Jan 8 17:39:51 2021 +0800
fix apache/incubator-echarts#13990
---
public/data/gauge-progress.js | 2 +-
src/editor/CodeAce.vue | 9 ++++++++-
src/editor/CodeMonaco.vue | 8 +++++++-
src/editor/Editor.vue | 9 ++++++++-
src/editor/FullCodePreview.vue | 9 ++++++++-
5 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/public/data/gauge-progress.js b/public/data/gauge-progress.js
index 307ac09..a4add90 100644
--- a/public/data/gauge-progress.js
+++ b/public/data/gauge-progress.js
@@ -66,7 +66,7 @@ option = {
borderWidth: 2,
width: '60%',
lineHeight: 40,
- height: '15%',
+ height: 40,
borderRadius: 8,
offsetCenter: [0, '35%'],
valueAnimation: true,
diff --git a/src/editor/CodeAce.vue b/src/editor/CodeAce.vue
index 953d834..ba51f76 100644
--- a/src/editor/CodeAce.vue
+++ b/src/editor/CodeAce.vue
@@ -104,6 +104,13 @@ export default {
font-size: 12px;
line-height: 18px;
padding: 10px;
- height: 100%;
+ // height: 100%;
+
+ // Fix safari
+ position: absolute;
+ left: 0;
+ top: 0;
+ bottom: 0;
+ right: 0;
}
</style>
\ No newline at end of file
diff --git a/src/editor/CodeMonaco.vue b/src/editor/CodeMonaco.vue
index 8b6b5fd..990443d 100644
--- a/src/editor/CodeMonaco.vue
+++ b/src/editor/CodeMonaco.vue
@@ -165,6 +165,12 @@ export default {
font-size: 12px;
padding: 0;
overflow-y: hidden;
- height: 100%;
+ // height: 100%;
+ // Fix safari
+ position: absolute;
+ left: 0;
+ top: 0;
+ bottom: 0;
+ right: 0;
}
</style>
\ No newline at end of file
diff --git a/src/editor/Editor.vue b/src/editor/Editor.vue
index c59b5af..e362580 100644
--- a/src/editor/Editor.vue
+++ b/src/editor/Editor.vue
@@ -336,7 +336,14 @@ $handler-width: 5px;
}
#option-outline {
- height: 100%;
+ // height: 100%;
+ // Fix safari
+ position: absolute;
+ left: 0;
+ top: 0;
+ bottom: 0;
+ right: 0;
+
font-size: 13px;
font-family: 'Source Code Pro', 'Monaco', 'Menlo', 'Ubuntu Mono',
'Consolas', monospace;
diff --git a/src/editor/FullCodePreview.vue b/src/editor/FullCodePreview.vue
index 65311fa..e2f1c3f 100644
--- a/src/editor/FullCodePreview.vue
+++ b/src/editor/FullCodePreview.vue
@@ -82,6 +82,13 @@ export default {
font-family: 'Source Code Pro', 'Monaco', 'Menlo', 'Ubuntu Mono',
'Consolas', monospace;
font-size: 12px;
line-height: 18px;
- height: 100%;
+ // height: 100%;
+
+ // Fix safari
+ position: absolute;
+ left: 0;
+ top: 0;
+ bottom: 0;
+ right: 0;
}
</style>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]