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({
11071107 ) : (
11081108 ''
11091109 ) }
1110- { branchName }
1110+ < span className = "action-button__truncated" > { branchName } </ span >
11111111 < span
11121112 className = "codicon codicon-chevron-down action-button__more"
11131113 aria-hidden = "true"
@@ -1143,7 +1143,7 @@ export function GraphWrapper({
11431143 </ >
11441144 ) }
11451145 </ div >
1146- < div className = "titlebar__group" >
1146+ < div className = "titlebar__group--last " >
11471147 < GlTooltip placement = "bottom" >
11481148 < a
11491149 href = { `command:gitlens.showLaunchpad?${ encodeURIComponent (
Original file line number Diff line number Diff line change @@ -345,6 +345,12 @@ button:not([disabled]),
345345 overflow : hidden ;
346346 }
347347
348+ & __truncated {
349+ width : 100% ;
350+ overflow : hidden ;
351+ text-overflow : ellipsis ;
352+ }
353+
348354 & .is-ahead {
349355 background-color : var (--branch-status-ahead-background );
350356
@@ -888,6 +894,13 @@ button:not([disabled]),
888894 }
889895 }
890896
897+ & __group--last {
898+ display : flex ;
899+ gap : 0.5rem ;
900+ flex-shrink : 0 ;
901+ width : auto ;
902+ }
903+
891904 & ,
892905 & __row {
893906 justify-content : space-between ;
@@ -966,6 +979,7 @@ gl-feature-gate gl-feature-badge {
966979 & __header {
967980 flex : none ;
968981 z-index : 101 ;
982+ width : fit-content ;
969983 position : relative ;
970984 }
971985
You can’t perform that action at this time.
0 commit comments