Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Jan 7, 2024
2 parents b36a6c6 + 737c9d6 commit 672d7d7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
16 changes: 11 additions & 5 deletions src/components/networkByIdPage/organization/listOrganizations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ const ListOrganizations = () => {
return (
<div className="space-y-10">
{userOrgs?.map((org) => (
<div key={org.id} className="border border-primary p-4 my-4 rounded">
<div
key={org.id}
className="border border-primary/20 p-4 my-4 rounded bg-base-200 shadow-lg"
>
<div>
<p>
<strong>{t("organization.listOrganization.organizationName")}</strong>{" "}
Expand Down Expand Up @@ -125,7 +128,7 @@ const ListOrganizations = () => {
content: <OrganizationInviteModal organizationId={org.id} />,
})
}
className="btn btn-sm"
className="btn btn-sm bg-base-300"
>
{b("inviteUser")}
</button>
Expand All @@ -141,7 +144,7 @@ const ListOrganizations = () => {
content: <EditOrganizationModal organizationId={org.id} />,
});
}}
className="btn btn-sm"
className="btn btn-sm bg-base-300"
>
{b("meta")}
</button>
Expand All @@ -167,11 +170,14 @@ const ListOrganizations = () => {
content: <OrganizationWebhook organizationId={org.id} />,
});
}}
className="btn btn-sm"
className="btn btn-sm bg-base-300"
>
{b("addWebhooks")}
</button>
<button onClick={() => toggleUsersTable(org.id)} className="btn btn-sm">
<button
onClick={() => toggleUsersTable(org.id)}
className="btn btn-sm bg-base-300"
>
{b("users")}
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/central/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const CentralNetworkById = ({ orgIds }) => {
<div className="flex flex-col space-y-3 sm:space-y-0">
<div className="flex flex-col justify-between sm:flex-row">
<span className="font-semibold">{t("networkId")}</span>
<span className="relative left-7 flex items-center gap-2">
<span className="relative flex items-center gap-2">
<CopyToClipboard
text={network?.nwid}
onCopy={() =>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/network/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const NetworkById = ({ orgIds }: IProps) => {
<div className="flex flex-col space-y-3 sm:space-y-0">
<div className="flex flex-col justify-between sm:flex-row">
<span className="font-semibold">{t("networkId")}</span>
<span className="relative left-7 flex items-center gap-2">
<span className="relative flex items-center gap-2">
<CopyToClipboard
text={network?.nwid}
onCopy={() =>
Expand Down

0 comments on commit 672d7d7

Please sign in to comment.