mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-26 05:39:45 +08:00
💄 修复渲染异常
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user