Skip to content

Commit 7a4cae8

Browse files
committed
Add max-height to chat input + fix editor overflow in ai ui
1 parent 7fb30c3 commit 7a4cae8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

shared/studio/tabs/ai/aiAdmin.module.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@
523523
outline: 0;
524524
margin: 0;
525525
resize: none;
526-
overflow: hidden;
526+
overflow: auto;
527527
height: 0;
528528
min-height: 100%;
529529
box-sizing: border-box;
@@ -534,7 +534,10 @@
534534
.overlay {
535535
visibility: hidden;
536536
white-space: pre-wrap;
537+
word-break: break-word;
537538
pointer-events: none;
539+
max-height: 480px;
540+
overflow: hidden;
538541
}
539542
}
540543

@@ -1244,6 +1247,7 @@
12441247
.overlay {
12451248
color: transparent;
12461249
white-space: pre-wrap;
1250+
word-break: break-word;
12471251
pointer-events: none;
12481252

12491253
span {

0 commit comments

Comments
 (0)