Skip to content

Commit

Permalink
Centre low-contrast icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Southpaw1496 committed Aug 28, 2024
1 parent 064428b commit 821aea9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/setpieces/NavBar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,9 @@ const { style = "is-dark" } = Astro.props as Props;
for="low-contrast"
data-tooltip={t("tooltip-toggle-low-contrast")}
>
<span id="theme-normal-contrast">
<Icon name="mdi:circle-half-full" />
</span>
<Icon name="mdi:circle-half-full" id="theme-normal-contrast"/>

<span id="theme-low-contrast">
<Icon name="mdi:circle-half" />
</span>
<Icon name="mdi:circle-half" id="theme-low-contrast"/>
</label>

<label class="navbar-burger" for="toggle-navbar" aria-label="menu">
Expand Down

1 comment on commit 821aea9

@Cozy-GitHub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See preview on Cloudflare Pages: https://d77e7e10.quiltmc-org.pages.dev

Please sign in to comment.