mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-24 06:19:08 +02:00
fix copy to clipboard for resources
This commit is contained in:
@@ -60,7 +60,7 @@ export const CopyToClipboard = ({
|
|||||||
ref={wrapperRef}
|
ref={wrapperRef}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
className={cn(
|
className={cn(
|
||||||
"inline-flex gap-2 items-center group/copy cursor-default wails-no-draggable text-left",
|
"inline-flex gap-2 items-center group/copy cursor-default wails-no-draggable text-left pointer-events-auto",
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ const NetworksList = ({ data, onToggle }: NetworksListProps) => {
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<CopyToClipboard message={n.id} className={"pointer-events-auto"}>
|
<CopyToClipboard message={n.id}>
|
||||||
<TruncatedText
|
<TruncatedText
|
||||||
text={n.id}
|
text={n.id}
|
||||||
className={
|
className={
|
||||||
|
|||||||
Reference in New Issue
Block a user