Making cluster area hoverable

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-11-08 16:47:25 +03:00
1 parent 90d4899ece
commit a9c06da121
2 files changed
+15 -2

No files matched your search

@@ -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 {
+2 -1
View File
@@ -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>
);
}