Update shareLink.tsx

This commit is contained in:
Koper
2023-09-25 19:30:30 +01:00
parent f0824110cd
commit 5fb38af77e

View File

@@ -34,7 +34,6 @@ const ShareLink = () => {
value={currentURL}
ref={inputRef}
className="border rounded p-2 flex-grow mr-2 text-sm bg-slate-100 outline-slate-400"
style={{ minHeight: "38px" }}
/>
<button
onClick={handleCopyClick}
@@ -42,6 +41,7 @@ const ShareLink = () => {
(isCopied ? "bg-blue-500" : "bg-blue-400") +
" hover:bg-blue-500 focus-visible:bg-blue-500 text-white rounded p-2"
}
style={{ minHeight: "38px" }}
>
{isCopied ? "Copied!" : "Copy"}
</button>