diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue index c6cb1a674e..4bc0c28330 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/CustomColorStyleSelect.vue @@ -491,7 +491,7 @@ const colorItemBorderColor = (index, state) => { >
- + {{ item.name }} @@ -648,7 +648,7 @@ const colorItemBorderColor = (index, state) => { justify-content: start; align-items: flex-start; .color-item-name { - max-width: 30px; + max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -688,7 +688,7 @@ const colorItemBorderColor = (index, state) => { width: 100%; font-size: var(--ed-font-size-base); - padding: 0 32px 0 20px; + padding: 0 20px 0 20px; position: relative; white-space: nowrap; overflow: hidden; @@ -726,7 +726,7 @@ const colorItemBorderColor = (index, state) => { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - width: 30px; + width: 40px; } } .series-color-picker-wrapper { diff --git a/core/core-frontend/src/views/chart/components/editor/editor-style/components/GradientColorSelector.vue b/core/core-frontend/src/views/chart/components/editor/editor-style/components/GradientColorSelector.vue index 72f3315715..8b1ee496ca 100644 --- a/core/core-frontend/src/views/chart/components/editor/editor-style/components/GradientColorSelector.vue +++ b/core/core-frontend/src/views/chart/components/editor/editor-style/components/GradientColorSelector.vue @@ -205,13 +205,13 @@ onMounted(() => { } } .cases-list { - margin: 6px 0; + margin: 8px 0; .select-color-item { width: 100%; font-size: var(--ed-font-size-base); - padding: 0 32px 0 20px; + padding: 0 20px 0 20px; position: relative; white-space: nowrap; overflow: hidden; @@ -249,7 +249,7 @@ onMounted(() => { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - width: 30px; + width: 40px; } } .tab-header {