File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,13 @@ const styles: CSSResultGroup = [
66 defaultStyles ,
77 css `
88 : host {
9- dis play: inline-flex;
9+ dis play: inline-block;
10+ }
11+
12+ .root {
1013 align-items : stretch;
11- padding : 0 ;
12- b or der : none ;
14+ display : flex ;
15+ width : 100 % ;
1316 }
1417
1518 ::slotted (vscode-button:not(: first- child)) {
@@ -28,6 +31,10 @@ const styles: CSSResultGroup = [
2831 ::slotted (vscode-button:focus) {
2932 z-index : 1 ;
3033 }
34+
35+ ::slotted (vscode-button:not(: empty)) {
36+ width : 100% ;
37+ }
3138 ` ,
3239] ;
3340
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class VscodeButtonGroup extends VscElement {
2424 static override styles = styles ;
2525
2626 override render ( ) : TemplateResult {
27- return html ` < slot > </ slot > ` ;
27+ return html `< div class =" root " > < slot > </ slot > </ div > ` ;
2828 }
2929}
3030
You can’t perform that action at this time.
0 commit comments