File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
src/webviews/apps/plus/graph Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -1107,7 +1107,7 @@ export function GraphWrapper({
1107
1107
) : (
1108
1108
''
1109
1109
) }
1110
- { branchName }
1110
+ < span className = "action-button__truncated" > { branchName } </ span >
1111
1111
< span
1112
1112
className = "codicon codicon-chevron-down action-button__more"
1113
1113
aria-hidden = "true"
@@ -1143,7 +1143,7 @@ export function GraphWrapper({
1143
1143
</ >
1144
1144
) }
1145
1145
</ div >
1146
- < div className = "titlebar__group" >
1146
+ < div className = "titlebar__group--last " >
1147
1147
< GlTooltip placement = "bottom" >
1148
1148
< a
1149
1149
href = { `command:gitlens.showLaunchpad?${ encodeURIComponent (
Original file line number Diff line number Diff line change @@ -345,6 +345,12 @@ button:not([disabled]),
345
345
overflow : hidden ;
346
346
}
347
347
348
+ & __truncated {
349
+ width : 100% ;
350
+ overflow : hidden ;
351
+ text-overflow : ellipsis ;
352
+ }
353
+
348
354
& .is-ahead {
349
355
background-color : var (--branch-status-ahead-background );
350
356
@@ -888,6 +894,13 @@ button:not([disabled]),
888
894
}
889
895
}
890
896
897
+ & __group--last {
898
+ display : flex ;
899
+ gap : 0.5rem ;
900
+ flex-shrink : 0 ;
901
+ width : auto ;
902
+ }
903
+
891
904
& ,
892
905
& __row {
893
906
justify-content : space-between ;
@@ -966,6 +979,7 @@ gl-feature-gate gl-feature-badge {
966
979
& __header {
967
980
flex : none ;
968
981
z-index : 101 ;
982
+ width : fit-content ;
969
983
position : relative ;
970
984
}
971
985
You can’t perform that action at this time.
0 commit comments