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:
parent
171725be79
commit
4974440a63
@ -27,6 +27,16 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
&:not(:focus-within) .DockTab.active {
|
||||||
|
&::after {
|
||||||
|
color: var(--halfGray);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover::after {
|
||||||
|
color: var(--line-color-active);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.isOpen {
|
&.isOpen {
|
||||||
&.fullSize {
|
&.fullSize {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
@ -79,6 +79,7 @@ export class Dock extends React.Component<Props> {
|
|||||||
|
|
||||||
open();
|
open();
|
||||||
selectTab(tab.id);
|
selectTab(tab.id);
|
||||||
|
this.element?.current.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
renderTab(tab: DockTab) {
|
renderTab(tab: DockTab) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user