Skip to content

Commit 68a25e3

Browse files
committed
Fix TreeItem markup + css
1 parent 4b7d6bb commit 68a25e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/vscode-tree-item/vscode-tree-item.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ const styles: CSSResultGroup = [
3434
font-family: var(--vscode-font-family, sans-serif);
3535
font-size: var(--vscode-font-size, 13px);
3636
font-weight: var(--vscode-font-weight, normal);
37-
height: 22px;
3837
line-height: 22px;
38+
min-height: 22px;
3939
outline-offset: -1px;
4040
padding-right: 12px;
4141
}

src/vscode-tree-item/vscode-tree-item.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,12 +682,12 @@ export class VscodeTreeItem extends VscElement {
682682
'arrow-container': true,
683683
'icon-rotated': this.open,
684684
})}
685-
part="head expando"
685+
part="arrow-icon-container"
686686
>
687687
${arrowIcon}
688688
</div>`
689689
: nothing}
690-
<div class=${classMap(iconContainerClasses)} part="head icon">
690+
<div class=${classMap(iconContainerClasses)} part="icon-container">
691691
${this.branch && !this.open
692692
? html`<slot
693693
name="icon-branch"

0 commit comments

Comments
 (0)