Skip to content

Commit 10a1640

Browse files
committed
fix: ToC going over the text on desktop
1 parent 50e859b commit 10a1640

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/styles/index.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@ html {
9595
-webkit-backdrop-filter: blur(0.625rem);
9696
position: fixed;
9797
top: 9.375rem;
98-
left: 10%;
98+
left: 3%;
9999
z-index: 9999;
100+
background-color: var(--color-header-hover);
101+
border: 0.0625rem solid var(--color-border);
100102
backdrop-filter: blur(0.625rem);
101103
border-radius: 1rem;
102-
background-color: transparent;
103-
padding: 0.625rem 1.5625rem;
104+
padding: 1.625rem 1.5625rem;
104105
overflow: hidden;
105106
text-align: left;
106107

0 commit comments

Comments
 (0)