Skip to content

Commit

Permalink
Update ModuleDetails.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnavK-09 authored Oct 21, 2024
1 parent 29531a0 commit 3d5b3dd
Showing 1 changed file with 32 additions and 28 deletions.
60 changes: 32 additions & 28 deletions cyclops-ui/src/components/pages/ModuleDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -752,22 +752,24 @@ const ModuleDetails = () => {
<></>
)}
{module.name}
<Button
type="text"
onClick={() => {
navigator.clipboard.writeText(module.name);
}}
style={{
marginLeft: "4px",
padding: "2px",
}}
>
<CopyOutlined
<Tooltip title={"Copy module name"} trigger="hover">
<Button
type="text"
onClick={() => {
navigator.clipboard.writeText(module.name);
}}
style={{
fontSize: "15px",
marginLeft: "4px",
padding: "2px",
}}
/>
</Button>
>
<CopyOutlined
style={{
fontSize: "15px",
}}
/>
</Button>
</Tooltip>
</Title>
</Col>
</Row>
Expand Down Expand Up @@ -800,22 +802,24 @@ const ModuleDetails = () => {
}}
>
{module.targetNamespace}
<Button
type="text"
onClick={() => {
navigator.clipboard.writeText(module.targetNamespace);
}}
style={{
marginLeft: "4px",
padding: "2px 1.5px",
}}
>
<CopyOutlined
<Tooltip title={"Copy namespace"} trigger="hover">
<Button
type="text"
onClick={() => {
navigator.clipboard.writeText(module.targetNamespace);
}}
style={{
fontSize: "15px",
marginLeft: "4px",
padding: "2px 1.5px",
}}
/>
</Button>
>
<CopyOutlined
style={{
fontSize: "15px",
}}
/>
</Button>
</Tooltip>
</Descriptions.Item>
</Descriptions>
<Row gutter={[40, 0]} style={{ paddingTop: "8px" }}>
Expand Down

0 comments on commit 3d5b3dd

Please sign in to comment.