This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new a18de7b5 fix(editor): improve renderer switch style
a18de7b5 is described below
commit a18de7b5f596ce0a3b339f75a8e46bf382149024
Author: plainheart <[email protected]>
AuthorDate: Tue May 3 19:16:27 2022 +0800
fix(editor): improve renderer switch style
---
src/editor/Preview.vue | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/editor/Preview.vue b/src/editor/Preview.vue
index 0ea274fa..e7f5a081 100644
--- a/src/editor/Preview.vue
+++ b/src/editor/Preview.vue
@@ -32,7 +32,7 @@
v-if="!isGL && !(shared.isMobile && hasRandomData)"
>
<div class="render-config-container">
- <div>
+ <div class="cfg-renderer">
<label class="tool-label">{{ $t('editor.renderer') }}</label>
<el-radio-group
v-model="shared.renderer"
@@ -543,11 +543,17 @@ export default {
> * {
margin-left: 10px;
margin-right: 10px;
+ flex-shrink: 0;
+ }
+
+ .cfg-renderer {
+ @include flex-center;
}
.tool-label {
font-weight: bold;
margin-right: 5px;
+ margin-bottom: 0;
}
.el-radio-group {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]