fix
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user