File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -1504,7 +1504,7 @@ impl AcpThreadView {
15041504 let style = default_markdown_style ( false , false , window, cx) ;
15051505 let message_body = v_flex ( )
15061506 . w_full ( )
1507- . gap_2p5 ( )
1507+ . gap_3 ( )
15081508 . children ( chunks. iter ( ) . enumerate ( ) . filter_map (
15091509 |( chunk_ix, chunk) | match chunk {
15101510 AssistantMessageChunk :: Message { block } => {
@@ -3352,7 +3352,6 @@ impl AcpThreadView {
33523352 let element = h_flex ( )
33533353 . group ( "edited-code" )
33543354 . id ( ( "file-container" , index) )
3355- . relative ( )
33563355 . py_1 ( )
33573356 . pl_2 ( )
33583357 . pr_1 ( )
@@ -3364,13 +3363,24 @@ impl AcpThreadView {
33643363 } )
33653364 . child (
33663365 h_flex ( )
3366+ . relative ( )
33673367 . id ( ( "file-name" , index) )
33683368 . pr_8 ( )
33693369 . gap_1p5 ( )
33703370 . max_w_full ( )
33713371 . overflow_x_scroll ( )
33723372 . child ( file_icon)
33733373 . child ( h_flex ( ) . gap_0p5 ( ) . children ( file_name) . children ( file_path) )
3374+ . child (
3375+ div ( )
3376+ . absolute ( )
3377+ . h_full ( )
3378+ . w_12 ( )
3379+ . top_0 ( )
3380+ . bottom_0 ( )
3381+ . right_0 ( )
3382+ . bg ( overlay_gradient) ,
3383+ )
33743384 . on_click ( {
33753385 let buffer = buffer. clone ( ) ;
33763386 cx. listener ( move |this, _, window, cx| {
@@ -3431,17 +3441,6 @@ impl AcpThreadView {
34313441 }
34323442 } ) ,
34333443 ) ,
3434- )
3435- . child (
3436- div ( )
3437- . id ( "gradient-overlay" )
3438- . absolute ( )
3439- . h_full ( )
3440- . w_12 ( )
3441- . top_0 ( )
3442- . bottom_0 ( )
3443- . right ( px ( 152. ) )
3444- . bg ( overlay_gradient) ,
34453444 ) ;
34463445
34473446 Some ( element)
You can’t perform that action at this time.
0 commit comments