+
@@ -287,10 +287,11 @@ onMounted(renderMarkdown);
overflow-wrap: break-word;
hyphens: auto;
/* Pure Naive UI theme - remove custom CSS variables */
- /* 填满容器并处理滚动 */
- height: 100%;
- overflow-y: auto;
padding: 0.75rem; /* 提供合适的内边距,与其他组件保持一致 */
+}
+
+/* 当使用 NScrollbar 时,不需要自己的滚动条 */
+.markdown-content--scrollable {
/* 隐藏滚动条但保持可滚动 */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
diff --git a/packages/ui/src/components/OutputDisplayCore.vue b/packages/ui/src/components/OutputDisplayCore.vue
index 0e73b689..8432abaf 100644
--- a/packages/ui/src/components/OutputDisplayCore.vue
+++ b/packages/ui/src/components/OutputDisplayCore.vue
@@ -1,12 +1,12 @@
-
-
+
-
+
-
+
-
@@ -121,21 +121,21 @@
type="textarea"
:placeholder="placeholder"
:autosize="{ minRows: 10 }"
- style="height: 100%;"
+ style="height: 100%; min-height: 0;"
/>
-
{{ placeholder || t('common.loading') }}
-
+
diff --git a/packages/ui/src/components/OutputDisplayFullscreen.vue b/packages/ui/src/components/OutputDisplayFullscreen.vue
index 127b73f9..ab671e80 100644
--- a/packages/ui/src/components/OutputDisplayFullscreen.vue
+++ b/packages/ui/src/components/OutputDisplayFullscreen.vue
@@ -1,27 +1,30 @@
-
+
+
+
\ No newline at end of file
+