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:
parent
58ffb38d74
commit
69e89c46ad
@ -67,7 +67,6 @@ class NonInjectedTerminalTab<Props extends TerminalTabProps & Dependencies> exte
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const tabIcon = <Icon material="terminal"/>;
|
|
||||||
const className = cssNames("TerminalTab", this.props.className, {
|
const className = cssNames("TerminalTab", this.props.className, {
|
||||||
disconnected: this.isDisconnected,
|
disconnected: this.isDisconnected,
|
||||||
});
|
});
|
||||||
@ -78,7 +77,12 @@ class NonInjectedTerminalTab<Props extends TerminalTabProps & Dependencies> exte
|
|||||||
<DockTab
|
<DockTab
|
||||||
{...tabProps}
|
{...tabProps}
|
||||||
className={className}
|
className={className}
|
||||||
icon={tabIcon}
|
icon={(
|
||||||
|
<Icon
|
||||||
|
svg="terminal"
|
||||||
|
smallest
|
||||||
|
/>
|
||||||
|
)}
|
||||||
moreActions={this.isDisconnected && (
|
moreActions={this.isDisconnected && (
|
||||||
<Icon
|
<Icon
|
||||||
small
|
small
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user