Skip to content

Commit

Permalink
small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Dec 9, 2023
1 parent 65ad8af commit ddf9ab5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion documentation/src/components/NavMenu.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function removeLeadingSlash(s: string): string {
}
return (
<li class="mt-6">
<p class="mb-1 text-sm font-medium">{section.title}</p>
<p class="mb-1 font-medium">{section.title}</p>
<ul>
{section.pages.map((page) => {
return (
Expand Down
8 changes: 4 additions & 4 deletions documentation/src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ interface Props {
<a href="/" class="font-medium text-xl">Lucia</a>
<button id="nav-button">Open</button>
</header>
<div class="px-4 overflow-auto overscroll-contain hidden pb-4" id="mobile-nav-menu">
<div class="px-4 md:px-8 overflow-auto overscroll-contain hidden pb-4" id="mobile-nav-menu">
<NavMenu sections={Astro.props.sections}/>
</div>
</nav>
<div class="max-w-5xl mx-auto w-full px-4 md:px-8 lg:px-0">
<div class="fixed w-60 shrink-0 hidden lg:block h-screen pt-8 pr-4">
<div class="fixed w-56 shrink-0 hidden lg:block h-screen pt-8 pr-4">
<a href="/" class="font-medium text-2xl">Lucia</a>
<div class="overflow-auto h-full pb-24">
<NavMenu sections={Astro.props.sections}/>
</div>
</div>
<div class="lg:ml-60 pt-20 lg:pt-12 pb-24">
<div class="lg:ml-56 pt-20 lg:pt-12 pb-24">
<slot />
</div>
</div>
Expand All @@ -41,7 +41,7 @@ interface Props {
--astro-code-color-background: rgb(246, 246, 246);
--astro-code-token-keyword: rgb(235, 72, 105);
--astro-code-token-string-expression: rgb(77, 102, 183);
--astro-code-token-comment: rgb(175, 175, 175);
--astro-code-token-comment: rgb(143, 143, 143);
}
</style>

Expand Down

0 comments on commit ddf9ab5

Please sign in to comment.