Skip to content

Commit b75a27d

Browse files
committed
chore: cleanup
1 parent e77b2cf commit b75a27d

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

packages/ui/src/components/message-part.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,10 @@
490490
}
491491

492492
[data-component="edit-content"] {
493+
border-radius: inherit;
493494
border-top: 1px solid var(--border-weaker-base);
494495
max-height: 420px;
496+
overflow-x: hidden;
495497
overflow-y: auto;
496498

497499
scrollbar-width: none;
@@ -500,15 +502,24 @@
500502
&::-webkit-scrollbar {
501503
display: none;
502504
}
505+
506+
[data-component="diff"] {
507+
border-radius: inherit;
508+
overflow: hidden;
509+
}
503510
}
504511

505512
[data-component="write-content"] {
513+
border-radius: inherit;
506514
border-top: 1px solid var(--border-weaker-base);
507515
max-height: 240px;
516+
overflow-x: hidden;
508517
overflow-y: auto;
509518

510519
[data-component="code"] {
511-
padding-bottom: 0px !important;
520+
padding-bottom: 0 !important;
521+
border-radius: inherit;
522+
overflow: hidden;
512523
}
513524

514525
/* Hide scrollbar */
@@ -1285,13 +1296,20 @@
12851296
}
12861297

12871298
[data-component="apply-patch-file-diff"] {
1299+
border-radius: inherit;
1300+
overflow-x: hidden;
12881301
overflow-y: auto;
12891302
scrollbar-width: none;
12901303
-ms-overflow-style: none;
12911304

12921305
&::-webkit-scrollbar {
12931306
display: none;
12941307
}
1308+
1309+
[data-component="diff"] {
1310+
border-radius: inherit;
1311+
overflow: hidden;
1312+
}
12951313
}
12961314

12971315
[data-component="tool-loaded-file"] {

0 commit comments

Comments
 (0)