Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
daadu committed Dec 27, 2023
1 parent 95c2d66 commit b559402
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/sidebar/DesktopSideBar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const entries = await getWikiEntries();
<div class="px-3 overflow-y-none ">
<h2 class="font-display pt-4 pb-2">Resources</h2>
<ul class="list-disc px-4">
{entries.map((e) => <li class="pb-2 font-display text-xs hover:text-carrot"><a href={e.data.goto || e.slug} target={e.data.goto? '_blank' : '_self'}>{e.data.title}{e.data.goto? '↗️' : ''}</a></li>)}
{entries.map((e) => <li class="pb-2 font-display text-xs hover:text-carrot"><a href={e.data.goto || e.slug} target={e.data.goto? '_blank' : '_self'}>{e.data.title}{e.data.goto? ' ↗️' : ''}</a></li>)}
</ul>
</div>
</aside>
Expand Down
5 changes: 3 additions & 2 deletions src/layouts/WikiPageLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ const {frontmatter = {}} = Astro.props;
<BaseLayout>
<div class="pt-12">
<DesktopSideBar />
<section class="min-h-screen pt-8">
<div class="mx-auto max-w-3xl px-8 pb-12">
<!-- TODO: MobileSideBar -->
<section class="min-h-screen ml-64 pt-8">
<div class="max-w-4xl px-8 pb-12">
<div class="mx-auto prose dark:prose-invert prose-headings:font-display prose-blockquote:text-carrot prose-code:text-eagle prose-a:text-eagle hover:prose-a:text-carrot">
{frontmatter.title && <h1>{frontmatter.title}</h1>}
<slot />
Expand Down
2 changes: 0 additions & 2 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
/* Flat-top three */
"cv02" 1;
/* Open 4 */
--tw-prose-kbd: "#e7e7d8";
--tw-prose-invert-kbd: "#e7e7d8";
}

@supports (font-variation-settings: normal) {
Expand Down

0 comments on commit b559402

Please sign in to comment.