fix
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-03-30 22:34:19 -06:00
parent 67b1baede8
commit 3c721224c8

View File

@@ -24,17 +24,7 @@
</n-flex> </n-flex>
</template> </template>
<n-tab-pane name="desc" tab="挑战描述" display-directive="show"> <n-tab-pane name="desc" tab="挑战描述" display-directive="show">
<div <div class="markdown-body content" v-html="challengeContent" />
class="markdown-body"
style="
padding: 12px;
overflow-y: auto;
height: calc(100% - 45px);
box-sizing: border-box;
user-select: none;
"
v-html="challengeContent"
/>
</n-tab-pane> </n-tab-pane>
<n-tab-pane name="chat" tab="AI 对话" display-directive="show"> <n-tab-pane name="chat" tab="AI 对话" display-directive="show">
<PromptPanel /> <PromptPanel />
@@ -192,4 +182,12 @@ onUnmounted(disconnectPrompt)
height: 100%; height: 100%;
padding: 0; padding: 0;
} }
.content {
padding: 12px;
overflow-y: auto;
height: calc(100% - 45px);
box-sizing: border-box;
user-select: none;
}
</style> </style>