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:
1 parent
58ffb38d74
commit
69e89c46ad
1 file changed
+6
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user