diff --git a/app/(prowler)/error.tsx b/app/(prowler)/error.tsx index 3719b239e3..980e681220 100644 --- a/app/(prowler)/error.tsx +++ b/app/(prowler)/error.tsx @@ -20,7 +20,7 @@ export default function Error({ }, [error]); return ( - + An unexpected error occurred diff --git a/app/(prowler)/findings/page.tsx b/app/(prowler)/findings/page.tsx index 5ef11d41ed..280ecf293b 100644 --- a/app/(prowler)/findings/page.tsx +++ b/app/(prowler)/findings/page.tsx @@ -13,7 +13,7 @@ export default async function Findings() { <>
-
+
}> diff --git a/app/(prowler)/layout.tsx b/app/(prowler)/layout.tsx index ebf66c7975..ea8d1f13bc 100644 --- a/app/(prowler)/layout.tsx +++ b/app/(prowler)/layout.tsx @@ -44,9 +44,9 @@ export default function RootLayout({ )} > -
+
-
+
{children}
diff --git a/app/(prowler)/users/page.tsx b/app/(prowler)/users/page.tsx index a7f643d73b..0a2f240f57 100644 --- a/app/(prowler)/users/page.tsx +++ b/app/(prowler)/users/page.tsx @@ -29,7 +29,7 @@ export default async function Users({ <>
-
+
diff --git a/components/ThemeSwitch.tsx b/components/ThemeSwitch.tsx index 1e581560ae..d397c4a678 100644 --- a/components/ThemeSwitch.tsx +++ b/components/ThemeSwitch.tsx @@ -57,7 +57,7 @@ export const ThemeSwitch: FC = ({ className={slots.wrapper({ class: clsx( [ - "w-auto h-auto", + "h-auto w-auto", "bg-transparent", "rounded-lg", "flex items-center justify-center", diff --git a/components/auth/AuthForm.tsx b/components/auth/AuthForm.tsx index 11176f0aab..b1bbcb866a 100644 --- a/components/auth/AuthForm.tsx +++ b/components/auth/AuthForm.tsx @@ -74,7 +74,7 @@ export const AuthForm = ({ type }: { type: string }) => { > {/* Brand Logo and ThemeSwitch */}
-
+
@@ -82,7 +82,7 @@ export const AuthForm = ({ type }: { type: string }) => { {/* Testimonial */}
-

+

Open Cloud Security diff --git a/components/charts/StatusChart.tsx b/components/charts/StatusChart.tsx index 7ac851ccf8..d906db502e 100644 --- a/components/charts/StatusChart.tsx +++ b/components/charts/StatusChart.tsx @@ -55,7 +55,7 @@ export function StatusChart() { }, []); return ( -

+
-
+
-
+
{updatedChartData[1].percent}
-
+
+2 findings from last scan
diff --git a/components/compliance/ComplianceCard.tsx b/components/compliance/ComplianceCard.tsx index 32e8004377..41cd740a73 100644 --- a/components/compliance/ComplianceCard.tsx +++ b/components/compliance/ComplianceCard.tsx @@ -50,15 +50,15 @@ export const ComplianceCard: React.FC = ({ return ( - -
+ +
{`${title} -
-

{title}

+
+

{title}

= ({ className="mt-2 font-semibold" color={getRatingColor(ratingPercentage)} /> -
+
- + {passingRequirements} / {totalRequirements} Passing Requirements diff --git a/components/compliance/ComplianceSkeletonGrid.tsx b/components/compliance/ComplianceSkeletonGrid.tsx index c16d3edca9..54ec78ce26 100644 --- a/components/compliance/ComplianceSkeletonGrid.tsx +++ b/components/compliance/ComplianceSkeletonGrid.tsx @@ -3,8 +3,8 @@ import React from "react"; export const ComplianceSkeletonGrid = () => { return ( - -
+ +
{[...Array(28)].map((_, index) => (
diff --git a/components/filters/custom-date-picker.tsx b/components/filters/custom-date-picker.tsx index 4343e06f30..91118322af 100644 --- a/components/filters/custom-date-picker.tsx +++ b/components/filters/custom-date-picker.tsx @@ -57,13 +57,13 @@ export const CustomDatePicker = () => { }; return ( -
+
{ return ( -
+

Amazon Web Services

@@ -18,7 +18,7 @@ export const CustomProviderInputAWS = () => { export const CustomProviderInputAzure = () => { return ( -
+

Azure

@@ -27,7 +27,7 @@ export const CustomProviderInputAzure = () => { export const CustomProviderInputGCP = () => { return ( -
+

Google Cloud Platform

@@ -36,7 +36,7 @@ export const CustomProviderInputGCP = () => { export const CustomProviderInputKubernetes = () => { return ( -
+

Kubernetes

diff --git a/components/filters/custom-select-provider.tsx b/components/filters/custom-select-provider.tsx index 876f42d030..0aff523282 100644 --- a/components/filters/custom-select-provider.tsx +++ b/components/filters/custom-select-provider.tsx @@ -83,7 +83,7 @@ export const CustomSelectProvider: React.FC = () => { > {(item) => ( -
{item.value}
+
{item.value}
)} diff --git a/components/filters/filter-controls.tsx b/components/filters/filter-controls.tsx index 13d4962b26..19053cb62b 100644 --- a/components/filters/filter-controls.tsx +++ b/components/filters/filter-controls.tsx @@ -47,7 +47,7 @@ export const FilterControls: React.FC = ({ return (
-
+
{search && } {providers && } {date && } diff --git a/components/findings/FindingsCard.tsx b/components/findings/FindingsCard.tsx index cec81ffb54..b4f9cab7a6 100644 --- a/components/findings/FindingsCard.tsx +++ b/components/findings/FindingsCard.tsx @@ -41,12 +41,12 @@ export const FindingsCard: React.FC = ({ selectedRow }) => { className={clsx( "max-h-[calc(100vh-146px)] overflow-y-auto rounded-md border bg-background transition-all duration-300", { - "w-1/3 translate-x-0 ml-2 p-3 opacity-100": selectedRow, - "translate-x-full w-0 opacity-0": !selectedRow, + "ml-2 w-1/3 translate-x-0 p-3 opacity-100": selectedRow, + "w-0 translate-x-full opacity-0": !selectedRow, }, )} > -

{CheckTitle}

+

{CheckTitle}

= ({ }) => { return ( <> -

{title}

+

{title}

{url ? ( {description} diff --git a/components/findings/FindingsCardDetail.tsx b/components/findings/FindingsCardDetail.tsx index 5b3ffc59bd..957cc6809e 100644 --- a/components/findings/FindingsCardDetail.tsx +++ b/components/findings/FindingsCardDetail.tsx @@ -34,9 +34,9 @@ export const FindingsCardDetail: React.FC = ({ <> {description && (
-

+

{title} {url && (

@@ -180,7 +180,7 @@ const Sidebar = React.forwardRef(
) : ( - item.startContent ?? null + (item.startContent ?? null) ) } > @@ -223,7 +223,7 @@ const Sidebar = React.forwardRef( {...item} key={item.key} endContent={ - isCompact || hideEndContent ? null : item.endContent ?? null + isCompact || hideEndContent ? null : (item.endContent ?? null) } startContent={ isCompact ? null : item.icon ? ( @@ -236,7 +236,7 @@ const Sidebar = React.forwardRef( width={24} /> ) : ( - item.startContent ?? null + (item.startContent ?? null) ) } textValue={item.title} @@ -255,7 +255,7 @@ const Sidebar = React.forwardRef( width={24} /> ) : ( - item.startContent ?? null + (item.startContent ?? null) )}
diff --git a/components/ui/sidebar/SidebarWrap.tsx b/components/ui/sidebar/SidebarWrap.tsx index 6fcf559f93..949cd59da0 100644 --- a/components/ui/sidebar/SidebarWrap.tsx +++ b/components/ui/sidebar/SidebarWrap.tsx @@ -50,7 +50,7 @@ export const SidebarWrap = () => { )} >
@@ -268,9 +268,9 @@ export const SidebarWrap = () => { >
@@ -284,7 +284,7 @@ export const SidebarWrap = () => {