Merge pull request #11030 from dataease/pr@dev-v2@refactor_screen_chart_series_name
refactor(图表): 大屏多序列名称字体颜色优化
This commit is contained in:
commit
4f7832a4d6
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user