fix(webui): Footer correctly displays over content

also a11y fixes, import fix
feat/plugins-backend
Tomáš Mládek 2024-04-12 15:02:53 +02:00
parent 07a150b99d
commit 58c5329781
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
import Icon from '../utils/Icon.svelte';
import Jobs from './Jobs.svelte';
import Notifications from './Notifications.svelte';
import { i18n } from '../../i18n';
import { i18n } from '$lib/i18n';
let hidden = true;
let activeJobs: number;
@ -20,6 +20,8 @@
on:keydown={(ev) => {
if (['Space', 'Enter'].includes(ev.key)) hidden = !hidden;
}}
role="button"
tabindex="-1"
>
<div class="info">
{#if activeJobs > 0}
@ -42,6 +44,7 @@
position: fixed;
bottom: 0;
width: 100%;
z-index: 9;
display: flex;
flex-direction: column;