mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix close button position in active tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
de9646122c
commit
022097ff93
@ -95,4 +95,5 @@
|
|||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
margin-right: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -80,7 +80,7 @@ class NonInjectedDockTab extends React.Component<DockTabProps & Dependencies> {
|
|||||||
const { className, moreActions, dockStore, active, ...tabProps } = this.props;
|
const { className, moreActions, dockStore, active, ...tabProps } = this.props;
|
||||||
const { title, pinned } = tabProps.value;
|
const { title, pinned } = tabProps.value;
|
||||||
const label = (
|
const label = (
|
||||||
<div className="flex gaps align-center" onAuxClick={isMiddleClick(prevDefault(this.close))}>
|
<div className="flex align-center" onAuxClick={isMiddleClick(prevDefault(this.close))}>
|
||||||
<span className={styles.title}>{title}</span>
|
<span className={styles.title}>{title}</span>
|
||||||
{moreActions}
|
{moreActions}
|
||||||
{!pinned && (
|
{!pinned && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user