mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 22:20:56 +00:00
refactor(web): use border for focus instead of outline
This commit is contained in:
1 parent
754d4ac7a1
commit
fb0c05ad92
2 files changed
+2
-2
No files matched your search
@@ -4,7 +4,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="p-2 flex items-center outline-none focus-within:outline-1 focus-within:outline-cyan-600 rounded-md bg-dark-600"
|
class="p-2 flex items-center outline-none border-[1px] border-transparent transition-all duration-100 focus-within:border-cyan-600 rounded-md bg-dark-600"
|
||||||
>
|
>
|
||||||
<div class="pr-2">
|
<div class="pr-2">
|
||||||
<svelte:component this={icon} />
|
<svelte:component this={icon} />
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
{#each $filteredResources as resource}
|
{#each $filteredResources as resource}
|
||||||
<button
|
<button
|
||||||
on:click={() => router.goto(`/${resource}`)}
|
on:click={() => router.goto(`/${resource}`)}
|
||||||
class="bg-dark-600 p-3 text-left hover:bg-dark-400 rounded-md"
|
class="bg-dark-600 p-3 border-[1px] outline-none border-transparent focus-visible:border-cyan-600 text-left hover:bg-dark-400 rounded-md"
|
||||||
>
|
>
|
||||||
{resource}
|
{resource}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in new issue
Block a user