Update shareLink.tsx

This commit is contained in:
Koper
2023-09-25 19:30:30 +01:00
committed by Sara
parent 89fde456c2
commit 366d21defb

View File

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