a11y cleanup

This commit is contained in:
Philipp Dormann 2023-04-26 23:02:06 +02:00
parent 8be40e2d80
commit 6bc92f4a08
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
2 changed files with 3 additions and 9 deletions

View File

@ -356,7 +356,7 @@
>
<span>{$_("about")}</span>
</a>
<span
<button
tabindex="0"
class="flex items-center px-4 py-3 transition cursor-pointer group hover:bg-gray-100 hover:text-gray-900"
on:click={() => {
@ -377,7 +377,7 @@
/></svg
>
<span>{$_("logout")}</span>
</span>
</button>
</nav>
</div>
<div class="ml-0 transition md:ml-60">

View File

@ -1,19 +1,13 @@
<script>
import { _ } from "svelte-i18n";
import { StatsService } from "@odit/lfk-client-js";
import StatCards from "./StatCard.svelte";
import store from "../../store";
import StatCard from "./StatCard.svelte";
let navOpen = false;
const stats_promise = StatsService.statsControllerGet();
</script>
<div
class="p-5 overflow-x-hidden"
on:click={() => {
navOpen = false;
}}
>
<div class="p-5 overflow-x-hidden">
<h1 class="text-3xl leading-tight">
<span class="font-extrabold">{$_("dashboard-title")}</span>
<span>