浏览代码

fixes

master
父节点
当前提交
16e6fe90c8
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. +2
    -0
      httpdocs/assets/scripts/statistics.js
  2. +1
    -1
      httpdocs/assets/styles/sections/_statistics.scss

+ 2
- 0
httpdocs/assets/scripts/statistics.js 查看文件

@@ -217,6 +217,8 @@ function applyThreshold(items, metric) {
}
}

visible.sort((a, b) => b.value - a.value);

if (restValue > 0) {
visible.push({ name: t('rest'), value: restValue, color: REST_COLOR });
}


+ 1
- 1
httpdocs/assets/styles/sections/_statistics.scss 查看文件

@@ -174,7 +174,7 @@
.statistics-donut__wrap {
position: relative;
width: 100%;
max-width: 200px;
max-width: 280px;
aspect-ratio: 1;
}



正在加载...
取消
保存