diff --git a/src/components/userGacha/gro-echarts.vue b/src/components/userGacha/gro-echarts.vue index c74d0921..0382b67c 100644 --- a/src/components/userGacha/gro-echarts.vue +++ b/src/components/userGacha/gro-echarts.vue @@ -15,6 +15,7 @@ /> { width: 100%; height: 100%; flex-direction: column; - align-items: center; - justify-content: center; + align-items: flex-start; + justify-content: flex-start; gap: 10px; overflow-y: auto; } @@ -133,4 +134,10 @@ async function getOptions(): Promise { color: var(--common-text-title); font-family: var(--font-title); } + +.gro-chart-box { + width: calc(100% - 8px); + height: calc(100% - 64px); + min-height: 300px; +} diff --git a/src/pages/common/PostCollect.vue b/src/pages/common/PostCollect.vue index dfe84784..c8cbd035 100644 --- a/src/pages/common/PostCollect.vue +++ b/src/pages/common/PostCollect.vue @@ -455,6 +455,6 @@ function handleUserClick(user: TGApp.BBS.Post.User, gid: number): void { display: grid; grid-auto-rows: auto; grid-gap: 8px; - grid-template-columns: repeat(4, minmax(360px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }