fix(browser): fixed settings interface in firefox #166

This commit is contained in:
sethburkart123
2024-09-13 17:36:31 +10:00
parent 1272c60a4d
commit 3388281744
6 changed files with 79 additions and 15 deletions
@@ -1,7 +1,7 @@
<script lang="ts">
let { onClick, text, ...props } = $props<{ onClick: () => void, text: string, [key: string]: any }>();
let { onClick, text } = $props<{ onClick: () => void, text: string, [key: string]: any }>();
</script>
<button onclick={onClick} class='px-4 py-1 text-[0.75rem] dark:bg-[#38373D] bg-[#DDDDDD] dark:text-white rounded-md' {...props}>
<button onclick={onClick} class='px-4 py-1 text-[0.75rem] dark:bg-[#38373D] bg-[#DDDDDD] dark:text-white rounded-md'>
{text}
</button>