1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Make Tab line gray if Dock isn't focused

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-10-11 07:14:00 +03:00
parent 171725be79
commit 4974440a63
2 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,16 @@
display: flex;
flex-direction: column;
&:not(:focus-within) .DockTab.active {
&::after {
color: var(--halfGray);
}
&:hover::after {
color: var(--line-color-active);
}
}
&.isOpen {
&.fullSize {
position: fixed;

View File

@ -79,6 +79,7 @@ export class Dock extends React.Component<Props> {
open();
selectTab(tab.id);
this.element?.current.focus();
};
renderTab(tab: DockTab) {