CN-49 feat : 饼图调整 && 数值过大的单位处理

This commit is contained in:
zhangyu
2021-07-07 15:51:52 +08:00
parent c08ceb1966
commit 5d24c9cdce
11 changed files with 388 additions and 82 deletions

View File

@@ -1,13 +1,21 @@
.nz-chart-tooltip > div > div:nth-of-type(1) > div:nth-of-type(2) > div > div:nth-of-type(1){
.nz-chart-tooltip .cn-chart-tooltip-box{
display: flex;
span {
float: none;
}
> span:nth-of-type(2){
.cn-chart-tooltip-content{
flex: 1;
display: inline-block;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
font-size:14px;
color:#666;
font-weight:400;
margin-left:2px ;
}
.cn-chart-tooltip-value{
float:right;
margin-left:20px;
font-size:14px;
color:#666;
font-weight:900;
}
}

View File

@@ -44,7 +44,7 @@
height: 44px;
background-color: white;
border: 1px solid #E6EAED;
}
.top-tool-right {
@@ -134,7 +134,7 @@
color: #666666;
font-size: 14px;
text-align: center;
line-height: 40px;
&.sub-list-tab--active {
@@ -156,7 +156,7 @@
background-color: #e6eaed;
position: absolute;
z-index: 1;
user-select: none;
color: #5f6368;
cursor: ns-resize;
@@ -188,7 +188,7 @@
position: relative;
padding: 0 20px;
width: 100%;
flex: auto;
height: calc(100% - 58px);
@@ -356,7 +356,7 @@
left: 270px !important;
margin-top: -3px !important;
box-shadow: none;
border-radius: 0;
border-color: #c7c7c7;
@@ -391,3 +391,6 @@
.margin-r-20{
margin-right: 20px;
}
.margin-l-10{
margin-left: 10px;
}