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) {
155
155
< gl-section >
156
156
< span slot ="heading "> GitLens Launchpad</ span >
157
157
< div class ="summary "> ${ this . renderSummaryResult ( ) } </ div >
158
- < button-container >
158
+ < button-container gap =" wide " >
159
159
< gl-button full class ="start-work " href =${ this . startWorkCommand } > Start Work on an Issue</ gl-button >
160
160
< gl-button
161
161
appearance ="secondary "
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ export class ButtonContainer extends LitElement {
8
8
elementBase ,
9
9
css `
10
10
:host {
11
+ --button-group-gap: 0.4rem;
12
+ --button-group-wide-gap: 1rem;
11
13
display: block;
12
14
max-width: 30rem;
13
15
margin-right: auto;
@@ -24,16 +26,23 @@ export class ButtonContainer extends LitElement {
24
26
25
27
.group {
26
28
display: inline-flex;
27
- gap: 0.4rem ;
29
+ gap: var(--button-group-gap) ;
28
30
width: 100%;
29
31
max-width: 30rem;
30
32
}
33
+
34
+ :host([gap='wide']) .group {
35
+ gap: var(--button-group-wide-gap);
36
+ }
31
37
` ,
32
38
] ;
33
39
34
40
@property ( { type : Boolean } )
35
41
editor = false ;
36
42
43
+ @property ( { reflect : true } )
44
+ gap ?: 'wide' ;
45
+
37
46
override render ( ) {
38
47
return html `< div class ="group "> < slot > </ slot > </ div > ` ;
39
48
}
You can’t perform that action at this time.
0 commit comments