🧼 Makes fullscreen button a button
This commit is contained in:
@@ -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>
|
|
||||||
Reference in New Issue
Block a user