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; /* 设置滚动条宽度 */