mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make terminal tab icon the same as the menu item icon (#5449)
This commit is contained in:
parent
827cb8a886
commit
5acfcf1b89
@ -166,11 +166,7 @@ class NonInjectedDock extends React.Component<DockProps & Dependencies> {
|
||||
closeOnScroll={false}
|
||||
>
|
||||
<MenuItem className="create-terminal-tab" onClick={() => this.props.createTerminalTab()}>
|
||||
<Icon
|
||||
small
|
||||
svg="terminal"
|
||||
size={15}
|
||||
/>
|
||||
<Icon small material="terminal" />
|
||||
Terminal session
|
||||
</MenuItem>
|
||||
<MenuItem className="create-resource-tab" onClick={() => this.props.createResourceTab()}>
|
||||
|
||||
@ -67,7 +67,6 @@ class NonInjectedTerminalTab<Props extends TerminalTabProps & Dependencies> exte
|
||||
}
|
||||
|
||||
render() {
|
||||
const tabIcon = <Icon material="terminal"/>;
|
||||
const className = cssNames("TerminalTab", this.props.className, {
|
||||
disconnected: this.isDisconnected,
|
||||
});
|
||||
@ -78,7 +77,7 @@ class NonInjectedTerminalTab<Props extends TerminalTabProps & Dependencies> exte
|
||||
<DockTab
|
||||
{...tabProps}
|
||||
className={className}
|
||||
icon={tabIcon}
|
||||
icon={<Icon material="terminal" />}
|
||||
moreActions={this.isDisconnected && (
|
||||
<Icon
|
||||
small
|
||||
|
||||
Loading…
Reference in New Issue
Block a user