Skip to content

Commit

Permalink
Update sidebar headings
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed May 16, 2024
1 parent d01a81d commit c6f863c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/documentation/.storybook/styles/manager.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#storybook-explorer-tree {
.sidebar-subheading {
width: 100%;

button {
letter-spacing: 0.1em;
}
Expand All @@ -24,6 +26,7 @@
}
}

.sidebar-subheading,
.sidebar-item {
position: relative;
border-radius: 0;
Expand All @@ -47,6 +50,13 @@
left: 100%;
}

&:hover,
&:focus-visible {
background-color: var(--post-gray-10);
}
}

.sidebar-item {
> span {
margin-top: 4px;
}
Expand Down Expand Up @@ -74,11 +84,6 @@
color: var(--post-aubergine-bright);
}

&:hover,
&:focus-visible {
background-color: var(--post-gray-10);
}

&[data-selected='true'] {
background-color: rgba(var(--post-yellow-rgb), 0.4);
color: var(--post-contrast-color);
Expand Down

0 comments on commit c6f863c

Please sign in to comment.