style: mobile imporve

This commit is contained in:
Neko Ayaka
2024-12-07 03:55:19 +08:00
parent b69abd2b5a
commit 26c37943bf
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ onUnmounted(() => {
</div>
<Settings />
</div>
<div flex="~ row 1" max-h="[calc(100vh-220px)]" relative h-full w-full items-end gap-2>
<div flex="~ row 1" max-h="[calc(100vh-220px)] <sm:[calc(100vh-320px)]" relative h-full w-full items-end gap-2>
<Live2DViewer
v-if="stageView === '2d'"
ref="live2DViewerRef"
+2 -2
View File
@@ -74,8 +74,8 @@ const show = ref(false)
</label>
</div>
<div
v-if="show" w="120" right="0" bg="zinc-100 dark:zinc-700"
grid="~ cols-[140px_1fr]" absolute z-10 my-2 items-center gap-1.5 rounded-lg p-2
v-if="show" w="120 <sm:[calc(100vw-16px)]" right="0" bg="zinc-100 dark:zinc-700"
grid="~ cols-[140px_1fr]" absolute z-100 my-2 items-center gap-1.5 rounded-lg p-2
>
<div text-sm>
<span>OpenAI API BaseURL</span>