perf: 优化实体详情标题样式

This commit is contained in:
chenjinsong
2022-02-08 18:15:58 +08:00
parent f365d8bb11
commit 088f1980e1
9 changed files with 52 additions and 14 deletions

View File

@@ -1,5 +1,9 @@
.cn-chart__single-value {
&.cn-chart__single-value--detail-overview.cn-chart__single-value--icon-left {
width: unset;
flex: 0 0 240px;
flex-wrap: wrap;
.single-value__icon {
width: 38px;
height: 38px;

View File

@@ -61,11 +61,27 @@
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
&.chart-header__title--block {
color: #1890FF;
font-weight: bold;
font-size: 16px;
}
.arrow-icon {
display: inline-block;
transform: rotate(0);
transition: all linear .2s;
&.reg-down {
transform: rotate(90deg);
}
i {
font-size: 12px;
color: #999;
}
}
}
.chart-header__tools {
display: flex;

View File

@@ -37,6 +37,7 @@
.overview__row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 2px 0;
font-size: 14px;