Merge pull request #11030 from dataease/pr@dev-v2@refactor_screen_chart_series_name

refactor(图表): 大屏多序列名称字体颜色优化
This commit is contained in:
wisonic-s 2024-07-18 21:30:54 +08:00 committed by GitHub
commit 4f7832a4d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -402,7 +402,12 @@ const colorItemBorderColor = (index, state) => {
}"
></div>
</div>
<span :title="item.name" class="color-item-name">{{ item.name }}</span>
<span
:title="item.name"
class="color-item-name"
:class="themes === 'dark' ? 'dark' : ''"
>{{ item.name }}</span
>
<div :id="'series-color-picker-' + index"></div>
</div>
</div>
@ -561,6 +566,9 @@ const colorItemBorderColor = (index, state) => {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&.dark {
color: white;
}
}
}
.color-item {