Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved styles and layout #273

Merged
merged 2 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading