From 08d20db965e9b4fb6b2452d5cd384aae6d6cca3a Mon Sep 17 00:00:00 2001 From: xuecong <> Date: Thu, 18 Nov 2021 11:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=A7=E5=B1=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/statistic/screen/components/slider.vue | 8 ++++++++ web/src/views/statistic/screen/components/warning.vue | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/web/src/views/statistic/screen/components/slider.vue b/web/src/views/statistic/screen/components/slider.vue index 3769c97..c4d5b2d 100644 --- a/web/src/views/statistic/screen/components/slider.vue +++ b/web/src/views/statistic/screen/components/slider.vue @@ -60,6 +60,8 @@ export default { width: 100%; height: 100%; position: relative; + flex: auto; + overflow: hidden; &.gutter { margin-top: -2.3vw; @@ -81,6 +83,9 @@ export default { flex-direction: row; align-items: center; justify-content: space-between; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; i { font-style: normal; @@ -99,6 +104,9 @@ export default { justify-content: center; font-size: 0.6vw; color: #999; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } } diff --git a/web/src/views/statistic/screen/components/warning.vue b/web/src/views/statistic/screen/components/warning.vue index 04a051f..05fd011 100644 --- a/web/src/views/statistic/screen/components/warning.vue +++ b/web/src/views/statistic/screen/components/warning.vue @@ -288,7 +288,7 @@ export default { border: 10px solid transparent; border-top-color: rgba(255, 255, 255, 0.2); top: 15%; - left: 50%; + right: 5%; transform: rotate(45deg); border-radius: 50%; }