Skip to content

Commit

Permalink
More layout fixes and navbar z postion #11 #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed Sep 15, 2024
1 parent 46a6c87 commit 7252886
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const links = [
]
---

<div class="navbar shadow-md dark:shadow-primary text-primary mb-1">
<div class="navbar shadow-md dark:shadow-primary text-primary mb-1 z-50">
<div class="navbar-start">
<div class="dropdown">
<div tabindex="0" role="button" class="btn btn-ghost lg:hidden">
Expand Down
9 changes: 8 additions & 1 deletion src/layouts/MarkdownLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const nestedHeadings = buildNestedHeadings(headings);
<div class="flex grow lg:py-5 flex-row items-start relative">
<div class="w-[20%] h-full hidden lg:block"></div>
<div class="w-full lg:w-[60%] flex justify-center">
<article class="prose lg:prose-lg xl:prose-xl grow p-5">
<article class="prose lg:prose-lg xl:prose-xl grow p-5 overflow-hidden">
<h1>{frontmatter.title}</h1>
<!-- <p class="subtitle">Written by {frontmatter.author}</p> -->
<div class="gap-2 flex">
Expand Down Expand Up @@ -137,6 +137,13 @@ const nestedHeadings = buildNestedHeadings(headings);
</div>
</Layout>

<style is:global>
.tooltip::before {
width: unset !important;
}

</style>

<style>

html {
Expand Down

0 comments on commit 7252886

Please sign in to comment.