Skip to content

Commit

Permalink
Fix #111357
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Solorio committed Nov 30, 2020
1 parent b548ac2 commit 5c71b54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 4 additions & 11 deletions src/vs/base/browser/ui/splitview/paneview.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,12 @@
width: 22px;
}

.monaco-pane-view .pane > .pane-header > .twisties {
width: 20px;
display: flex;
align-items: center;
justify-content: center;
transform-origin: center;
color: inherit;
flex-shrink: 0;
.monaco-pane-view .pane > .pane-header > .codicon:first-of-type {
margin: 0 2px;
}

.monaco-pane-view .pane.horizontal:not(.expanded) > .pane-header > .twisties {
margin-top: 2px;
margin-bottom: 2px;
.monaco-pane-view .pane.horizontal:not(.expanded) > .pane-header > .codicon:first-of-type {
margin: 2px;
}

/* TODO: actions should be part of the pane, but they aren't yet */
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/views/viewPaneContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export abstract class ViewPane extends Pane implements IView {
protected renderHeader(container: HTMLElement): void {
this.headerContainer = container;

this.twistiesContainer = append(container, $('.twisties' + ThemeIcon.asCSSSelector(this.getTwistyIcon(this.isExpanded()))));
this.twistiesContainer = append(container, $(ThemeIcon.asCSSSelector(this.getTwistyIcon(this.isExpanded()))));

this.renderHeaderTitle(container, this.title);

Expand Down

0 comments on commit 5c71b54

Please sign in to comment.