From c02b36e79492a6ab9dd3efa77de87cb7477267dd Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Sun, 4 Feb 2024 20:02:00 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=9C=8B=E6=9D=BF=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=A1=8C=E4=B8=BA=E5=B0=8F=E5=B1=8F=E5=B9=95=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AD=97=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/UserActivity/index.vue | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/views/dashboard/overview/components/UserActivity/index.vue b/src/views/dashboard/overview/components/UserActivity/index.vue index a4e8fe37..09b7c5ea 100644 --- a/src/views/dashboard/overview/components/UserActivity/index.vue +++ b/src/views/dashboard/overview/components/UserActivity/index.vue @@ -324,6 +324,26 @@ onMounted(() => { } } + /* 兼容当行显示字内容 */ + @media (max-width: 1720px) { + & .card-cdr { + &-item { + display: block; + & > div { + width: 100%; + } + } + } + & .card-ue { + &-item { + display: block; + & > div { + width: 100%; + } + } + } + } + /* 修改滚动条的样式 */ &::-webkit-scrollbar { width: 8px; /* 设置滚动条宽度 */