Skip to content

Commit 37b3201

Browse files
fix: Border can be seen though Sidebar expand button (#943)
1 parent 7f24ab3 commit 37b3201

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/Layout/Layout.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,13 @@ export function Layout() {
4848
css={css`
4949
position: absolute;
5050
top: var(--space-4);
51-
left: 64px;
52-
transform: translateX(-50%);
51+
left: calc(64px - var(--space-2));
52+
background-color: var(--color-background);
5353
z-index: 10000;
54+
55+
&:hover {
56+
background-color: var(--accent-3);
57+
}
5458
`}
5559
>
5660
<PanelLeftOpenIcon />

0 commit comments

Comments
 (0)