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