diff --git a/nezha-fronted/src/assets/css/components/common/nezhaColor.scss b/nezha-fronted/src/assets/css/components/common/nezhaColor.scss index 055c94c33..f5eb9a50e 100644 --- a/nezha-fronted/src/assets/css/components/common/nezhaColor.scss +++ b/nezha-fronted/src/assets/css/components/common/nezhaColor.scss @@ -65,7 +65,8 @@ border-radius: 5px; display: flex; align-items: center; - height: 30px; + height: 32px; + box-sizing: border-box; } .color-show .color-text { diff --git a/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss b/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss index d38ba38f0..b8db63406 100644 --- a/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss +++ b/nezha-fronted/src/assets/css/components/common/rightBox/chartRightBox/chartRightBox.scss @@ -148,32 +148,40 @@ padding-left: 10px; box-sizing: border-box; } + .mapping-display-input{ + input{ + padding-left: 42px; + } + .el-input__prefix{ + display: flex; + align-items: center; + left: 10px; + } + } .mapping-iconSelect { - display: flex; - justify-content: space-between; - align-items: center; - width: 76px; - height: 32px; - padding:0px 5px; + width: 22px; + height: 22px; box-sizing: border-box; - border: 1px solid $--border-color-light; + border: 1px dotted #fa901c; + border-radius: 2px; + display: flex; + align-items: center; + justify-content: center; cursor: pointer; - .mapping-icon{ - font-size: 18px; - margin-left: 6px; - } - span{ - font-size: 14px; - color: $--color-text-placeholder; - } - .el-icon-arrow-down{ - transition: transform .2s; - color: $--color-text-placeholder; - } - .el-icon-arrow-down.is-active{ - transform: rotate(-180deg); + i{ + font-size: 12px; + color: #fa901c; } } + .mapping-icon{ + font-size: 18px; + width: 22px; + height: 22px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + } } .thresholds-add{ border: 1px solid $--border-color-light; @@ -261,19 +269,14 @@ height: 100%; width: calc(60% - 10px); } - //.el-select__tags > span { - // display: flex; - // width: 100%; - // overflow-x: auto; - //} } } .mapping-iconPop{ .mapping-iconList{ - width: 285px; - height: 175px; + width: 240px; + height: 130px; overflow-y: auto; display: flex; flex-wrap: wrap; @@ -293,10 +296,10 @@ i{ font-size: 18px; } - &:nth-of-type(6n+1){ + &:nth-of-type(5n+1){ margin-left: 0; } - &:nth-of-type(-n+6){ + &:nth-of-type(-n+5){ margin-top: 0; } } diff --git a/nezha-fronted/src/assets/css/components/page/dashboard/chartBox.scss b/nezha-fronted/src/assets/css/components/page/dashboard/chartBox.scss index 097d766b3..883f38fd6 100644 --- a/nezha-fronted/src/assets/css/components/page/dashboard/chartBox.scss +++ b/nezha-fronted/src/assets/css/components/page/dashboard/chartBox.scss @@ -111,7 +111,7 @@ .color-show{ display: inline-block; position: relative; - top: 1px; + top: 0px; } .topology-box{ width: 100%; diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue index 2e292187b..f356344fe 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartConfig.vue @@ -668,26 +668,29 @@