Skip to content

Commit

Permalink
Submenu contribution to editor/title and view/title not working #12706
Browse files Browse the repository at this point in the history
* fix icon
  • Loading branch information
jfaltermeier committed Aug 17, 2023
1 parent 811dc11 commit e29f163
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ export class TabBarToolbar extends ReactWidget {
if (this.commandIsToggled(item.command)) {
classNames.push('toggled');
}
} else {
if (this.isEnabled(item)) {
classNames.push('enabled');
}
}
return classNames;
}
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/browser/style/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,10 @@
cursor: pointer;
}

.p-TabBar-toolbar .item.enabled .action-label::before {
display: flex;
}

.p-TabBar-toolbar :not(.item.enabled) .action-label {
background: transparent;
cursor: default;
Expand Down

0 comments on commit e29f163

Please sign in to comment.