1
0
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:
Alex Andreev 2022-03-18 13:38:02 +03:00
parent de9646122c
commit 022097ff93
2 changed files with 2 additions and 1 deletions

View File

@ -95,4 +95,5 @@
max-width: 250px; max-width: 250px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
margin-right: 2.5rem;
} }

View File

@ -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 && (