@@ -5592,7 +5592,7 @@ button.chat-pr__diff {
55925592 padding-block-start : 10px ;
55935593 padding-block-end : 5px ;
55945594 padding-inline : 10px ;
5595- margin-bottom : 8 px ;
5595+ margin-bottom : 2 px ;
55965596 overflow-x : auto;
55975597 overflow-y : hidden;
55985598 overscroll-behavior-inline : contain;
@@ -5632,7 +5632,7 @@ button.chat-pr__diff {
56325632 corner-shape : superellipse ( 1.5 ) ;
56335633 overflow : hidden;
56345634 border : 1px solid var ( --border ) ;
5635- background : var ( --panel ) ;
5635+ background : var ( --chat-composer-surface , var ( --popover ) ) ;
56365636 transition :
56375637 border-color var ( --duration-fast ) ease,
56385638 background var ( --duration-fast ) ease;
@@ -5644,13 +5644,13 @@ button.chat-pr__diff {
56445644}
56455645
56465646. chat-attachment-thumb--file {
5647- width : 220 px ;
5648- height : 82 px ;
5647+ width : 162 px ;
5648+ height : 56 px ;
56495649}
56505650
56515651. chat-attachment-thumb--pasted-text {
5652- width : min ( 220 px , calc ( 100vw - 64px ) ) ;
5653- background : transparent ;
5652+ width : min ( 162 px , calc ( 100vw - 64px ) ) ;
5653+ background : var ( --chat-composer-surface , var ( --popover ) ) ;
56545654}
56555655
56565656. chat-attachment-thumb--browser-annotation {
@@ -5661,7 +5661,7 @@ button.chat-pr__diff {
56615661 max-width : min ( 300px , calc ( 100vw - 64px ) ) ;
56625662 min-width : 0 ;
56635663 height : 56px ;
5664- background : transparent ;
5664+ background : var ( --chat-composer-surface , var ( --popover ) ) ;
56655665}
56665666
56675667. chat-browser-annotation-card__preview {
@@ -5723,19 +5723,20 @@ button.chat-pr__diff {
57235723 object-fit : cover;
57245724}
57255725
5726- . chat-attachment-image-button {
5726+ . chat-attachment-image-button . chat-attachment-image-button {
57275727 position : relative;
57285728 width : 100% ;
57295729 height : 100% ;
57305730 border-radius : calc ( var ( --chat-attachment-radius ) - 1px ) ;
57315731 corner-shape : superellipse ( 1.5 ) ;
57325732}
57335733
5734- . chat-attachment-image-button :: after {
5734+ . chat-attachment-image-button . chat-attachment-image-button :: after {
57355735 content : "" ;
57365736 position : absolute;
57375737 inset : 0 ;
5738- border-radius : inherit;
5738+ border-radius : calc ( var ( --chat-attachment-radius ) - 1px ) ;
5739+ corner-shape : superellipse ( 1.5 ) ;
57395740 background : color-mix ( in srgb, var ( --text-strong ) 8% , transparent) ;
57405741 opacity : 0 ;
57415742 pointer-events : none;
@@ -5754,7 +5755,8 @@ button.chat-pr__diff {
57545755 width : 20px ;
57555756 height : 20px ;
57565757 padding : 0 ;
5757- border-radius : 50% ;
5758+ border-radius : calc ( 7px * var ( --openclaw-corner-radius-scale ) ) ;
5759+ corner-shape : superellipse ( 1.5 ) ;
57585760 border : none;
57595761 background : color-mix ( in srgb, var ( --bg ) 82% , transparent) ;
57605762 color : var ( --text-strong ) ;
@@ -5796,11 +5798,11 @@ button.chat-pr__diff {
57965798 display : flex;
57975799 align-items : center;
57985800 justify-content : flex-start;
5799- gap : 9 px ;
5800- width : fit-content ;
5801+ gap : 10 px ;
5802+ width : 100 % ;
58015803 max-width : 100% ;
58025804 height : 100% ;
5803- padding : 7 px 10 px ;
5805+ padding : 8 px 12 px ;
58045806 overflow : hidden;
58055807 font-size : 0.72rem ;
58065808 color : var ( --text ) ;
@@ -5811,13 +5813,13 @@ button.chat-pr__diff {
58115813}
58125814
58135815. chat-attachment-thumb--file : is ( : hover , : focus-within ) . chat-attachment-file {
5814- background : color-mix ( in srgb, var ( --panel ) 86% , var ( --text ) ) ;
5816+ background : color-mix ( in srgb, var ( --chat-composer-surface , var ( --popover ) ) 86% , var ( --text ) ) ;
58155817}
58165818
58175819. chat-attachment-file--pasted-text {
58185820 justify-content : flex-start;
5819- gap : 8 px ;
5820- padding : 10 px 42 px 10 px 10 px ;
5821+ gap : 10 px ;
5822+ padding : 8 px 32 px 8 px 12 px ;
58215823 background : transparent;
58225824}
58235825
@@ -5826,11 +5828,19 @@ button.chat-pr__diff {
58265828 align-items : center;
58275829 justify-content : center;
58285830 flex : 0 0 auto;
5831+ width : 20px ;
5832+ height : 20px ;
5833+ color : var ( --muted ) ;
58295834}
58305835
5831- . chat-attachment-file--pasted-text . chat-attachment-file__icon {
5832- width : 16px ;
5833- height : 16px ;
5836+ . chat-attachment-file__icon svg {
5837+ width : 20px ;
5838+ height : 20px ;
5839+ stroke : currentColor;
5840+ fill : none;
5841+ stroke-width : 1.8px ;
5842+ stroke-linecap : round;
5843+ stroke-linejoin : round;
58345844}
58355845
58365846. chat-attachment-file__name {
@@ -5842,19 +5852,28 @@ button.chat-pr__diff {
58425852}
58435853
58445854. chat-attachment-file--pasted-text . chat-attachment-file__name {
5845- font-size : 0.86 rem ;
5846- line-height : 1.2 ;
5855+ font-size : 0.72 rem ;
5856+ line-height : 1.15 ;
58475857}
58485858
58495859. chat-attachment-file__body {
58505860 display : flex;
58515861 min-width : 0 ;
5852- max-width : 220 px ;
5862+ max-width : 100 % ;
58535863 flex-direction : column;
58545864 justify-content : center;
58555865 gap : 3px ;
58565866}
58575867
5868+ . chat-attachment-file__type {
5869+ overflow : hidden;
5870+ color : var ( --muted ) ;
5871+ font-size : 0.64rem ;
5872+ line-height : 1.1 ;
5873+ text-overflow : ellipsis;
5874+ white-space : nowrap;
5875+ }
5876+
58585877. chat-attachment-text-action {
58595878 display : inline-flex;
58605879 width : fit-content;
@@ -5867,10 +5886,14 @@ button.chat-pr__diff {
58675886 background : transparent;
58685887 cursor : var ( --cursor-action ) ;
58695888 font : inherit;
5889+ overflow : hidden;
5890+ font-size : 0.64rem ;
58705891 line-height : 1.15 ;
58715892 text-align : left;
5893+ text-overflow : ellipsis;
58725894 text-decoration : underline;
58735895 text-underline-offset : 2px ;
5896+ white-space : nowrap;
58745897}
58755898
58765899. chat-attachment-text-action : hover {
0 commit comments