mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Update shareLink.tsx
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user