fix: 螺旋升天

This commit is contained in:
unanmed 2024-03-12 21:47:17 +08:00
parent 39c6dab558
commit 85befb4230
3 changed files with 20 additions and 5 deletions

View File

@ -13,7 +13,7 @@
"是否开启抗锯齿。开启后,画面会变得不那么锐利,观感更加舒适;关闭后,可以更好地展现出像素感,同时部分像素错误也不会出现。"
],
"fontSize": [
"在各种 ui 界面中显示的文字大小,范围为 8 - 28。注意字体过大可能会引起 ui 布局发生错误"
"在各种 ui 界面中显示的文字大小,范围为 2 - 48。注意字体过大可能会引起 ui 布局发生错误"
],
"criticalGem": ["临界是否显示为在当前地图要吃的宝石数"]
},

View File

@ -46,10 +46,14 @@
</TransitionGroup>
</div>
<div class="setting-info">
<Scroll class="info-text-scroll">
<div
class="info-text"
v-html="splitText(display.at(-1)?.text ?? ['请选择设置'])"
v-html="
splitText(display.at(-1)?.text ?? ['请选择设置'])
"
></div>
</Scroll>
<a-divider class="info-divider" dashed></a-divider>
<div class="info-editor" v-if="!!selectedItem">
<div class="editor-custom">
@ -309,6 +313,10 @@ onUnmounted(() => {
min-height: 30%;
max-height: 50%;
}
.info-text-scroll {
max-height: 50%;
}
}
@media screen and (max-width: 600px) {

View File

@ -411,6 +411,13 @@ onUnmounted(() => {
#detail {
flex-basis: 30%;
#desc {
#desc-text {
max-height: 10vh;
height: 10vh;
}
}
}
}
</style>