mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Making cluster area hoverable
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
90d4899ece
commit
a9c06da121
@ -42,7 +42,19 @@
|
||||
}
|
||||
|
||||
.cluster {
|
||||
@apply flex items-center m-5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 1.25rem;
|
||||
cursor: pointer;
|
||||
|
||||
&:focus-visible {
|
||||
background: var(--blue);
|
||||
color: white;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: var(--sidebarLogoBackground);
|
||||
}
|
||||
}
|
||||
|
||||
.clusterName {
|
||||
|
||||
@ -206,7 +206,7 @@ export class Sidebar extends React.Component<Props> {
|
||||
const { metadata, spec } = this.clusterEntity;
|
||||
|
||||
return (
|
||||
<div className={styles.cluster}>
|
||||
<div className={styles.cluster} tabIndex={0}>
|
||||
<HotbarIcon
|
||||
uid={metadata.uid}
|
||||
title={metadata.name}
|
||||
@ -232,6 +232,7 @@ export class Sidebar extends React.Component<Props> {
|
||||
<div className={styles.clusterName}>
|
||||
{metadata.name}
|
||||
</div>
|
||||
<Icon material="arrow_drop_down"/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user