Fix linter issues

This commit is contained in:
freearhey 2025-02-05 08:34:42 +03:00
parent bfe7c7f040
commit f61ab73bbe
6 changed files with 27 additions and 6 deletions

View file

@ -10,7 +10,7 @@
<div class="min-w-full divide-y divide-gray-200 dark:divide-gray-700">
<div class="bg-gray-50 dark:bg-gray-700">
<div class="flex">
<div class="w-36 sm:w-52 shrink-0" />
<div class="w-36 sm:w-52 shrink-0"></div>
<div
class="py-3 px-2 text-xs font-semibold tracking-wider text-left text-gray-400 uppercase dark:text-gray-400 w-52 sm:w-80 shrink-0"
>

View file

@ -18,7 +18,12 @@
}
</script>
<div class="relative px-2 py-24 flex justify-center" on:keypress on:click|self={close}>
<div
class="relative px-2 py-24 flex justify-center"
role="presentation"
on:keypress
on:click|self={close}
>
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-[820px]">
<div
class="flex justify-between items-center py-3 pl-5 pr-3 md:pr-4 rounded-t border-b dark:border-gray-700"

View file

@ -17,7 +17,7 @@
</script>
<slot {copy} />
<textarea bind:this={textarea} value={text} aria-hidden="true" tabindex="-1" />
<textarea bind:this={textarea} value={text} aria-hidden="true" tabindex="-1"></textarea>
<style>
textarea {

View file

@ -6,7 +6,12 @@
export let guides = []
</script>
<div class="relative px-2 py-32 flex justify-center" on:keypress on:click|self={close}>
<div
class="relative px-2 py-32 flex justify-center"
role="presentation"
on:keypress
on:click|self={close}
>
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-2xl">
<div
class="flex justify-between items-center py-4 pl-5 pr-4 rounded-t border-b dark:border-gray-700"
@ -34,6 +39,7 @@
</h3>
<button
on:click={close}
aria-label="Close"
type="button"
class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-full text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white"
>

View file

@ -47,7 +47,12 @@
]
</script>
<div class="relative px-2 py-20 flex justify-center" on:keypress on:click|self={close}>
<div
class="relative px-2 py-20 flex justify-center"
role="presentation"
on:keypress
on:click|self={close}
>
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-2xl">
<div
class="flex justify-between items-center py-3 pl-5 pr-4 rounded-t border-b dark:border-gray-700"

View file

@ -9,7 +9,12 @@
const { close } = getContext('simple-modal')
</script>
<div class="relative px-2 py-32 flex justify-center" on:keypress on:click|self={close}>
<div
class="relative px-2 py-32 flex justify-center"
role="presentation"
on:keypress
on:click|self={close}
>
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-2xl">
<div
class="flex justify-between items-center py-3 pl-5 pr-4 rounded-t border-b dark:border-gray-700"