File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed
src/webviews/apps/plus/home/components Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,8 @@ export const branchCardStyles = css`
189189 }
190190
191191 .branch-item__missing {
192- --button-foreground: inherit;
192+ color: var(--vscode-descriptionForeground);
193+ font-style: italic;
193194 }
194195
195196 .branch-item__is-narrow {
@@ -918,16 +919,23 @@ export abstract class GlBranchCardBase extends GlElement {
918919 if ( ! issues . length ) {
919920 if ( ! this . expanded ) return nothing ;
920921
921- return html `< gl-button
922- class ="branch-item__missing "
923- appearance ="secondary "
924- full
925- href =${ this . createCommandLink < AssociateIssueWithBranchCommandArgs > ( 'gitlens.associateIssueWithBranch' , {
926- branch : this . branch . reference ,
927- source : 'home' ,
928- } ) }
929- > Associate an Issue</ gl-button
930- > ` ;
922+ return html `< div class ="branch-item__row " full >
923+ < span class ="branch-item__missing " full > Current work item</ span >
924+ < gl-tooltip hoist content ="Associate an issue ">
925+ < a
926+ class ="branch-item__missing "
927+ appearance ="secondary "
928+ href =${ this . createCommandLink < AssociateIssueWithBranchCommandArgs > (
929+ 'gitlens.associateIssueWithBranch' ,
930+ {
931+ branch : this . branch . reference ,
932+ source : 'home' ,
933+ } ,
934+ ) }
935+ > < span class ="branch-item__icon "> < issue-icon > </ issue-icon > </ span
936+ > </ a >
937+ </ gl-tooltip >
938+ </ div > ` ;
931939 }
932940
933941 const indicator : GlCard [ 'indicator' ] = this . branch . opened ? 'base' : undefined ;
You can’t perform that action at this time.
0 commit comments