File tree Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ export const AiCell: React.FC<AiCellProps> = ({
288
288
289
289
return (
290
290
< div
291
- className = { `cell-container group relative -mx-3 mb-2 px-3 pt-2 transition-all duration-200 sm:mx-0 sm: mb-3 sm:px-0 ${
291
+ className = { `cell-container group relative mb-2 pt-2 transition-all duration-200 sm:mb-3 ${
292
292
autoFocus && ! contextSelectionMode
293
293
? "bg-purple-50/30"
294
294
: "hover:bg-muted/10"
@@ -556,7 +556,7 @@ export const AiCell: React.FC<AiCellProps> = ({
556
556
{ /* Text Content Area - Chat-like on mobile */ }
557
557
{ cell . sourceVisible && (
558
558
< div
559
- className = { `cell-content py-1 pr -1 pl-4 transition-colors sm:pr -4 ${
559
+ className = { `cell-content px-4 py -1 transition-colors sm:px -4 ${
560
560
autoFocus ? "bg-white" : "bg-white"
561
561
} `}
562
562
>
@@ -700,7 +700,7 @@ export const AiCell: React.FC<AiCellProps> = ({
700
700
701
701
{ /* Output Area for AI Responses */ }
702
702
{ outputs . length > 0 && cell . outputVisible && (
703
- < div className = "cell-content bg-background mt-1 max-w-full overflow-hidden pr-1 pl-6 sm:pr -4" >
703
+ < div className = "cell-content bg-background mt-1 max-w-full overflow-hidden px-4 sm:px -4" >
704
704
{ groupConsecutiveStreamOutputs (
705
705
outputs . sort (
706
706
( a : OutputData , b : OutputData ) => a . position - b . position
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ export const Cell: React.FC<CellProps> = ({
298
298
299
299
return (
300
300
< div
301
- className = { `cell-container group relative -mx-3 mb-2 px-3 pt-2 transition-all duration-200 sm:mx-0 sm: mb-3 sm:px-0 ${
301
+ className = { `cell-container group relative mb-2 pt-2 transition-all duration-200 sm:mb-3 ${
302
302
autoFocus && ! contextSelectionMode
303
303
? "bg-primary/5"
304
304
: "hover:bg-muted/10"
@@ -309,9 +309,6 @@ export const Cell: React.FC<CellProps> = ({
309
309
: "bg-gray-50/30 ring-2 ring-gray-300"
310
310
: ""
311
311
} `}
312
- style = { {
313
- position : "relative" ,
314
- } }
315
312
>
316
313
{ /* Custom left border with controlled height */ }
317
314
< div
@@ -526,7 +523,7 @@ export const Cell: React.FC<CellProps> = ({
526
523
{ /* Text Content Area */ }
527
524
{ cell . sourceVisible && (
528
525
< div
529
- className = { `cell-content py-1 pr -1 pl-4 transition-colors sm:pr -4 ${
526
+ className = { `cell-content px-4 py -1 transition-colors sm:px -4 ${
530
527
autoFocus ? "bg-white" : "bg-white"
531
528
} `}
532
529
>
@@ -640,7 +637,7 @@ export const Cell: React.FC<CellProps> = ({
640
637
{ cell . cellType === "code" &&
641
638
cell . outputVisible &&
642
639
( outputs . length > 0 || cell . executionState === "running" ) && (
643
- < div className = "cell-content bg-background mt-1 max-w-full overflow-hidden pr-1 pl-6 sm:pr -4" >
640
+ < div className = "cell-content bg-background mt-1 max-w-full overflow-hidden px-4 sm:px -4" >
644
641
{ cell . executionState === "running" && outputs . length === 0 && (
645
642
< div className = "border-l-2 border-blue-200 py-3 pl-1" >
646
643
< div className = "flex items-center gap-2" >
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ export const SqlCell: React.FC<SqlCellProps> = ({
254
254
255
255
return (
256
256
< div
257
- className = { `cell-container group relative -mx-3 mb-2 px-3 pt-2 transition-all duration-200 sm:mx-0 sm: mb-3 sm:px-0 ${
257
+ className = { `cell-container group relative mb-2 pt-2 transition-all duration-200 sm:mb-3 ${
258
258
autoFocus && ! contextSelectionMode
259
259
? "bg-blue-50/30"
260
260
: "hover:bg-muted/10"
@@ -482,7 +482,7 @@ export const SqlCell: React.FC<SqlCellProps> = ({
482
482
{ /* Text Content Area */ }
483
483
{ cell . sourceVisible && (
484
484
< div
485
- className = { `cell-content py-1 pr -1 pl-4 transition-colors sm:pr -4 ${
485
+ className = { `cell-content px-4 py -1 transition-colors sm:px -4 ${
486
486
autoFocus ? "bg-white" : "bg-white"
487
487
} `}
488
488
>
@@ -552,7 +552,7 @@ export const SqlCell: React.FC<SqlCellProps> = ({
552
552
553
553
{ /* Query Results */ }
554
554
{ cell . sqlResultData && cell . outputVisible && (
555
- < div className = "cell-content bg-background mt-1 max-w-full overflow-hidden pr-1 pl-6 sm:pr -4" >
555
+ < div className = "cell-content bg-background mt-1 max-w-full overflow-hidden px-4 sm:px -4" >
556
556
{ renderResults ( ) }
557
557
</ div >
558
558
) }
You can’t perform that action at this time.
0 commit comments