Update icon side nav hover state

This commit is contained in:
Andrew Kingston 2022-04-27 16:02:30 +01:00
parent a4b6b3e1e3
commit c8a94067c8
1 changed files with 3 additions and 1 deletions

View File

@ -35,13 +35,15 @@
border-radius: 4px; border-radius: 4px;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
transition: background 130ms ease-out;
} }
.icon-side-nav-item:hover :global(svg), .icon-side-nav-item:hover :global(svg),
.active :global(svg) { .active :global(svg) {
color: white; color: white;
} }
.icon-side-nav-item:hover,
.active { .active {
background-color: var(--spectrum-global-color-gray-200); background: var(--spectrum-global-color-gray-200);
} }
.tooltip { .tooltip {
position: absolute; position: absolute;