fix: Add bg color to CopyButton

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-03-30 15:59:39 +01:00
parent 40e3025af4
commit 64a2d7bee8
No known key found for this signature in database
GPG Key ID: E59C7734F0E10EB5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default function CopyButton({ text, disabled = false, children }: Props)
startReset();
}}
disabled={!IS_BROWSER || disabled}
class="px-2 py-1 border(gray-100 2) hover:bg-gray-200 mx-auto"
class="px-2 py-1 border(gray-100 2) hover:bg-gray-200 mx-auto bg-blue-200"
>
{clicked ? "Kopiert!" : children}
</button>