From c7450f65c605651b5a3d073e5b20a2c242c87d7a Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 22 Jul 2021 12:26:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=86=E5=9B=BE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 74f34a1151..b953a6fb1e 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -250,7 +250,7 @@ group="drag" animation="300" :move="onMove" - style="padding:2px 0 0 0;width:100%;min-height: 32px;border-radius: 4px;border: 1px solid #DCDFE6;overflow-x: auto;display: flex;align-items: center;background-color: white;" + class="drag-block-style" @add="addXaxis" > @@ -277,7 +277,7 @@ group="drag" animation="300" :move="onMove" - style="padding:2px 0 0 0;width:100%;min-height: 32px;border-radius: 4px;border: 1px solid #DCDFE6;overflow-x: auto;display: flex;align-items: center;background-color: white;" + class="drag-block-style" @add="addYaxis" > @@ -297,7 +297,7 @@ group="drag" animation="300" :move="onMove" - style="padding:2px 0 0 0;width:100%;min-height: 32px;border-radius: 4px;border: 1px solid #DCDFE6;overflow-x: auto;display: flex;align-items: center;background-color: white;" + class="drag-block-style" @add="addStack" > @@ -1527,4 +1527,15 @@ export default { font-weight: normal !important; } } + .drag-block-style{ + padding:2px 0 0 0; + width:100%; + min-height: 32px; + border-radius: 4px; + border: 1px solid #DCDFE6; + overflow-x: hidden; + display: flex; + align-items: center; + background-color: white; + }