File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ export class GlLaunchpad extends SignalWatcher(LitElement) {
155155			< gl-section >  
156156				< span  slot ="heading "> GitLens Launchpad</ span >  
157157				< div  class ="summary "> ${ this . renderSummaryResult ( ) } </ div >  
158- 				< button-container >  
158+ 				< button-container   gap =" wide " >  
159159					< gl-button  full  class ="start-work " href =${ this . startWorkCommand } > Start Work on an Issue</ gl-button >  
160160					< gl-button  
161161						appearance ="secondary " 
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ export class ButtonContainer extends LitElement {
88		elementBase , 
99		css ` 
1010			:host { 
11+ 				--button-group-gap: 0.4rem; 
12+ 				--button-group-wide-gap: 1rem; 
1113				display: block; 
1214				max-width: 30rem; 
1315				margin-right: auto; 
@@ -24,16 +26,23 @@ export class ButtonContainer extends LitElement {
2426
2527			.group { 
2628				display: inline-flex; 
27- 				gap: 0.4rem ; 
29+ 				gap: var(--button-group-gap) ; 
2830				width: 100%; 
2931				max-width: 30rem; 
3032			} 
33+ 
34+ 			:host([gap='wide']) .group { 
35+ 				gap: var(--button-group-wide-gap); 
36+ 			} 
3137		` , 
3238	] ; 
3339
3440	@property ( {  type : Boolean  } ) 
3541	editor  =  false ; 
3642
43+ 	@property ( {  reflect : true  } ) 
44+ 	gap ?: 'wide' ; 
45+ 
3746	override  render ( )  { 
3847		return  html `< div  class ="group "> < slot > </ slot > </ div > ` ; 
3948	} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments