瀏覽代碼

fixes

master
FlorianEisenmenger 1 天之前
父節點
當前提交
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;
}



Loading…
取消
儲存