💄 修复渲染异常

This commit is contained in:
BTMuli
2025-07-02 11:49:48 +08:00
parent 4e79d56664
commit f8f08cf048
2 changed files with 10 additions and 3 deletions

View File

@@ -15,6 +15,7 @@
/>
</div>
<v-chart
class="gro-chart-box"
:option="chartOptions"
autoresize
:theme="echartsTheme"
@@ -113,8 +114,8 @@ async function getOptions(): Promise<void> {
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<void> {
color: var(--common-text-title);
font-family: var(--font-title);
}
.gro-chart-box {
width: calc(100% - 8px);
height: calc(100% - 64px);
min-height: 300px;
}
</style>

View File

@@ -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));
}
</style>