Skip to content

Commit 5cf7982

Browse files
committed
fix: Chat-UI UI space height issue
1 parent 7c8df81 commit 5cf7982

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/doctor.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ app.registerExtension({
305305
border-radius: 8px;
306306
padding: 12px;
307307
margin: 10px 0;
308+
max-height: 200px;
309+
overflow-y: auto;
310+
flex-shrink: 0;
308311
}
309312
.doctor-sidebar-content .stats-panel summary {
310313
cursor: pointer;
@@ -787,7 +790,7 @@ app.registerExtension({
787790
// ═══════════════════════════════════════════════════════════════
788791
const messages = document.createElement('div');
789792
messages.id = 'doctor-messages';
790-
messages.style.cssText = 'flex: 1; overflow-y: auto; padding: 10px; min-height: 0;';
793+
messages.style.cssText = 'flex: 1; overflow-y: auto; padding: 10px; min-height: 150px;';
791794
messages.innerHTML = `
792795
<div style="text-align: center; padding: 40px 20px; color: #888;">
793796
<div style="font-size: 48px; margin-bottom: 10px;">✅</div>

0 commit comments

Comments
 (0)