1
0
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

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-05-25 15:30:02 -04:00
parent 58ffb38d74
commit 69e89c46ad

View File

@ -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,12 @@ class NonInjectedTerminalTab<Props extends TerminalTabProps & Dependencies> exte
<DockTab
{...tabProps}
className={className}
icon={tabIcon}
icon={(
<Icon
svg="terminal"
smallest
/>
)}
moreActions={this.isDisconnected && (
<Icon
small