Skip to content

Commit a1a1870

Browse files
committed
fix(Smart Question): View error information without scroll bar, adaptive width and height
1 parent 6ba059a commit a1a1870

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

frontend/src/components/layout/Workspace.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ onMounted(async () => {
175175

176176
<style lang="less">
177177
.system-workspace.system-workspace {
178+
--ed-popover-border-radius: 6px;
178179
padding: 4px 0;
179180
width: 280px !important;
180181
box-shadow: 0 4px 8px 0 #1f23291a;

frontend/src/views/chat/ErrorInfo.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ function showTraceBack() {
8989
line-height: 24px;
9090
color: rgba(31, 35, 41, 1);
9191
white-space: pre-wrap;
92+
word-break: break-word;
9293
9394
&.row {
9495
display: flex;

0 commit comments

Comments
 (0)