Skip to content

Commit

Permalink
🛠️ fix aria-label={item.text} and #49
Browse files Browse the repository at this point in the history
  • Loading branch information
EveSunMaple committed Nov 5, 2024
1 parent 3ba0666 commit 62642b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/ProfileCardMenu.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { Icon } from "astro-icon/components";
title={item.id}
href={item.href}
target={item.target || "_self"}
aria-label={item.text}
>
<span class="inline-flex justify-center">
<Icon name={`menu/${item.svg}`} />
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const { title, image, includeSidebar = true } = Astro.props;

import mediumZoom from "medium-zoom/dist/pure";
document.addEventListener("swup:page:view", () => {
mediumZoom(".main-card img:not(.link-card img)", {
mediumZoom(".main-card img:not(.link-card img):not(.comment img)", {
margin: 24,
background: "#00000080",
});
Expand Down

0 comments on commit 62642b9

Please sign in to comment.