🧼 Makes fullscreen button a button

This commit is contained in:
Rune Harlyk
2024-08-19 21:13:12 +02:00
committed by Rune Harlyk
parent d4c40a2a53
commit 47dd527c70
@@ -4,8 +4,6 @@
import MdiFullscreenExit from '~icons/mdi/fullscreen-exit'; import MdiFullscreenExit from '~icons/mdi/fullscreen-exit';
</script> </script>
<!-- svelte-ignore a11y-click-events-have-key-events --> <button on:click={toggleFullscreen}>
<!-- svelte-ignore a11y-no-static-element-interactions --> <svelte:component this={$isFullscreen ? MdiFullscreenExit : MdiFullscreen} class="h-7 w-7" />
<div on:click={toggleFullscreen}> </button>
<svelte:component this={isFullscreen ? MdiFullscreenExit : MdiFullscreen} class="h-7 w-7" />
</div>