浏览代码

minor style change

Torkel Ödegaard 7 年之前
父节点
当前提交
cc8b450799
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      packages/grafana-ui/src/components/ThresholdsEditor/_ThresholdsEditor.scss

+ 7 - 1
packages/grafana-ui/src/components/ThresholdsEditor/_ThresholdsEditor.scss

@@ -8,6 +8,12 @@
   height: 70px;
   height: 70px;
 }
 }
 
 
+.thresholds-row:first-child > .thresholds-row-color-indicator {
+  border-top-left-radius: $border-radius;
+  border-top-right-radius: $border-radius;
+  overflow: hidden;
+}
+
 .thresholds-row:last-child > .thresholds-row-color-indicator {
 .thresholds-row:last-child > .thresholds-row-color-indicator {
   border-bottom-left-radius: $border-radius;
   border-bottom-left-radius: $border-radius;
   border-bottom-right-radius: $border-radius;
   border-bottom-right-radius: $border-radius;
@@ -33,7 +39,7 @@
 }
 }
 
 
 .thresholds-row-color-indicator {
 .thresholds-row-color-indicator {
-  width: 20px;
+  width: 10px;
 }
 }
 
 
 .thresholds-row-input {
 .thresholds-row-input {