make repl and doc styles more similar

This commit is contained in:
Felix Roos
2022-12-22 22:49:41 +01:00
parent 9aaaa755c7
commit f18a2a11fa
9 changed files with 42 additions and 18 deletions
@@ -25,8 +25,8 @@ const sidebar = SIDEBAR[langCode];
return (
<li class="">
<a
class={`pl-4 py-0.5 w-full hover:bg-gray-900 block${
currentPageMatch === child.link ? ' bg-gray-900' : ''
class={`pl-4 py-0.5 w-full hover:bg-header block${
currentPageMatch === child.link ? ' bg-header' : ''
}`}
href={url}
aria-current={currentPageMatch === child.link ? 'page' : false}