diff --git a/web/src/assets/style.css b/web/src/assets/style.css index 7b1372b..6cca491 100644 --- a/web/src/assets/style.css +++ b/web/src/assets/style.css @@ -1,6 +1,6 @@ :root { - overflow-y: scroll; - scrollbar-gutter: stable; + /* overflow-y: scroll; + scrollbar-gutter: stable; */ font-family: "Inter", -apple-system, @@ -143,18 +143,18 @@ body { /* 美化滚动条 */ ::-webkit-scrollbar { - width: 8px; - height: 8px; + width: 2px; + height: 2px; } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); - border-radius: 4px; + border-radius: 1px; } ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - border-radius: 4px; + border-radius: 1px; } ::-webkit-scrollbar-thumb:hover { diff --git a/web/src/components/Layout.vue b/web/src/components/Layout.vue index 77b5060..97cea9f 100644 --- a/web/src/components/Layout.vue +++ b/web/src/components/Layout.vue @@ -123,8 +123,9 @@ import NavBar from "@/components/NavBar.vue"; .content-wrapper { max-width: 1400px; margin: 0 auto; - padding: 24px; - min-height: calc(100vh - 64px); + padding: 24px 12px; + height: calc(100vh - 64px); + overflow: auto; } /* 响应式设计 */ diff --git a/web/src/components/keys/GroupInfoCard.vue b/web/src/components/keys/GroupInfoCard.vue index ca4ef9e..b62fdcc 100644 --- a/web/src/components/keys/GroupInfoCard.vue +++ b/web/src/components/keys/GroupInfoCard.vue @@ -92,6 +92,12 @@ function formatPercentage(num: number): string {