From fb9c580e5353becba67f58c1eb82853beaaaddc0 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 27 Jun 2025 22:19:42 +0530 Subject: [PATCH] feat: fixed padding in layout --- frontend/src/layouts/KmsLayout/KmsLayout.tsx | 2 +- .../components/OrgSidebar/OrgSidebar.tsx | 118 +++++++++--------- .../PkiManagerLayout/PkiManagerLayout.tsx | 2 +- .../ProjectGeneralLayout.tsx | 2 +- .../layouts/ProjectLayout/ProjectLayout.tsx | 2 +- .../SecretManagerLayout.tsx | 2 +- .../SecretScanningLayout.tsx | 2 +- frontend/src/layouts/SshLayout/SshLayout.tsx | 2 +- 8 files changed, 68 insertions(+), 64 deletions(-) diff --git a/frontend/src/layouts/KmsLayout/KmsLayout.tsx b/frontend/src/layouts/KmsLayout/KmsLayout.tsx index e1db9db5a..68d7b7c7d 100644 --- a/frontend/src/layouts/KmsLayout/KmsLayout.tsx +++ b/frontend/src/layouts/KmsLayout/KmsLayout.tsx @@ -54,7 +54,7 @@ export const KmsLayout = () => { -
+
diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgSidebar.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgSidebar.tsx index 24ec704fe..e8dbb1858 100644 --- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgSidebar.tsx +++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgSidebar.tsx @@ -9,14 +9,15 @@ import { faPlug, faShare, faUserCog, - faUsers + faUsers, + faUserTie } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Link } from "@tanstack/react-router"; import { AnimatePresence, motion } from "framer-motion"; import { CreateOrgModal } from "@app/components/organization/CreateOrgModal"; -import { Menu, MenuGroup, MenuItem, Tooltip } from "@app/components/v2"; +import { Button, Menu, MenuGroup, MenuItem, Tooltip } from "@app/components/v2"; import { useOrganization, useSubscription, useUser } from "@app/context"; import { usePopUp } from "@app/hooks"; import { useGetOrgTrialUrl } from "@app/hooks/api"; @@ -46,9 +47,9 @@ export const OrgSidebar = ({ isHidden }: Props) => { animate={{ opacity: 1, translateX: 0 }} exit={{ opacity: 0, translateX: -240 }} layout - className="dark z-10 w-60 border-r border-mineshaft-600 bg-gradient-to-tr from-mineshaft-700 via-mineshaft-800 to-mineshaft-900" + className="dark z-10 w-60 border-r border-mineshaft-600 bg-gradient-to-tr from-mineshaft-700 via-mineshaft-800 to-mineshaft-900 pb-4" > - -
+
diff --git a/frontend/src/layouts/ProjectGeneralLayout/ProjectGeneralLayout.tsx b/frontend/src/layouts/ProjectGeneralLayout/ProjectGeneralLayout.tsx index e61aef8b7..56c4cef39 100644 --- a/frontend/src/layouts/ProjectGeneralLayout/ProjectGeneralLayout.tsx +++ b/frontend/src/layouts/ProjectGeneralLayout/ProjectGeneralLayout.tsx @@ -44,7 +44,7 @@ export const ProjectGeneralLayout = () => { -
+
diff --git a/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx b/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx index 8fed0dc61..4954d59e5 100644 --- a/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx +++ b/frontend/src/layouts/ProjectLayout/ProjectLayout.tsx @@ -322,7 +322,7 @@ export const ProjectLayout = () => { -
+
{assumedPrivilegeDetails && }
diff --git a/frontend/src/layouts/SecretManagerLayout/SecretManagerLayout.tsx b/frontend/src/layouts/SecretManagerLayout/SecretManagerLayout.tsx index faa3f998a..534d110bb 100644 --- a/frontend/src/layouts/SecretManagerLayout/SecretManagerLayout.tsx +++ b/frontend/src/layouts/SecretManagerLayout/SecretManagerLayout.tsx @@ -116,7 +116,7 @@ export const SecretManagerLayout = () => {
-
+
diff --git a/frontend/src/layouts/SecretScanningLayout/SecretScanningLayout.tsx b/frontend/src/layouts/SecretScanningLayout/SecretScanningLayout.tsx index 754f96f1a..1355d3d80 100644 --- a/frontend/src/layouts/SecretScanningLayout/SecretScanningLayout.tsx +++ b/frontend/src/layouts/SecretScanningLayout/SecretScanningLayout.tsx @@ -52,7 +52,7 @@ export const SecretScanningLayout = () => { -
+
diff --git a/frontend/src/layouts/SshLayout/SshLayout.tsx b/frontend/src/layouts/SshLayout/SshLayout.tsx index 70a63b057..50391ee4f 100644 --- a/frontend/src/layouts/SshLayout/SshLayout.tsx +++ b/frontend/src/layouts/SshLayout/SshLayout.tsx @@ -64,7 +64,7 @@ export const SshLayout = () => { -
+