File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed
front_end/panels/ai_assistance Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ export class PatchWidget extends UI.Widget.Widget {
310
310
${ input . projectName ? html `
311
311
< div class ="change-workspace ">
312
312
< div class ="selected-folder ">
313
- < devtools-icon .name =${ 'folder' } > </ devtools-icon > < span title =${ input . projectPath } > ${ input . projectName } </ span >
313
+ < devtools-icon .name =${ 'folder' } > </ devtools-icon > < span class =" folder-name " title =${ input . projectPath } > ${ input . projectName } </ span >
314
314
</ div >
315
315
< devtools-button
316
316
@click =${ input . onChangeWorkspaceClick }
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export class SelectWorkspaceDialog extends UI.Widget.VBox {
111
111
title=${ project . path }
112
112
>
113
113
< devtools-icon class ="folder-icon " .name =${ 'folder' } > </ devtools-icon >
114
- ${ project . name }
114
+ < span class =" ellipsis " > ${ project . name } </ span >
115
115
</ li > ` ;
116
116
} ) }
117
117
</ ul >
Original file line number Diff line number Diff line change @@ -757,6 +757,7 @@ main {
757
757
position : relative;
758
758
margin : 0 var (--sys-size-5 );
759
759
padding : 0 var (--sys-size-5 );
760
+ min-width : var (--sys-size-31 );
760
761
761
762
& .saved-to-disk {
762
763
pointer-events : none;
@@ -864,12 +865,20 @@ main {
864
865
display : flex;
865
866
align-items : center;
866
867
gap : var (--sys-size-3 );
868
+ overflow : hidden;
869
+
870
+ .folder-name {
871
+ white-space : nowrap;
872
+ overflow : hidden;
873
+ text-overflow : ellipsis;
874
+ }
867
875
}
868
876
869
877
.change-workspace {
870
878
display : flex;
871
879
flex-direction : row;
872
880
gap : var (--sys-size-2 );
881
+ overflow : hidden;
873
882
}
874
883
875
884
.info-tooltip-container {
Original file line number Diff line number Diff line change @@ -74,3 +74,9 @@ li.selected {
74
74
color : var (--app-color-navigation-drawer-label-selected );
75
75
}
76
76
}
77
+
78
+ .ellipsis {
79
+ overflow : hidden;
80
+ text-overflow : ellipsis;
81
+ white-space : nowrap;
82
+ }
You can’t perform that action at this time.
0 commit comments