Skip to content

Commit

Permalink
styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDTR committed Nov 10, 2024
1 parent 7a7b30f commit 4d5c854
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ const fixedPath = currentPath.replace(/^\/|\/$/g, "");
<b class="no-underline">Andrew Moses</b>
</a>
<a class={`nav ${fixedPath === "blog" ? "bold" : ""}`} href="/blog">Blog</a>
<a class={`nav ${fixedPath === "about" ? "bold" : ""}`} href="/about">About</a>

<a class={`nav ${fixedPath === "about" ? "bold" : ""}`} href="/about"
>About</a
>
</div>
<div class="icons">
<a
Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
</p>
<p>
You may not have noticed it if you're on mobile (the site will attempt to
disbale it if it detects mobile browser agents or a mobile screen size), but
disable it if it detects mobile browser agents or a mobile screen size), but
hovering over a link that directs to an external webpage (one not on this
site) will make it appear in a tooltip that follows your mouse. This feature
was directly inspired by MIT's website design (which was made by
Expand Down
1 change: 0 additions & 1 deletion src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ body {
display: flex;
flex-direction: column;
max-width: 1600px;

}

@media (min-width: 400px) {
Expand Down

0 comments on commit 4d5c854

Please sign in to comment.