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; + }