diff --git a/frontend/src/components/config/index.tsx b/frontend/src/components/config/index.tsx index 75c7853ef..127641cf3 100644 --- a/frontend/src/components/config/index.tsx +++ b/frontend/src/components/config/index.tsx @@ -97,7 +97,7 @@ export const Configuration = >>({ return (
{fmt_field(field)}
>>({ } if (typeof val === "boolean") { return ( -
+
{fmt_field(field)}
(
-
+

{title}

{subtitle} @@ -29,7 +29,7 @@ interface SectionProps { export const Section = ({ title, icon, actions, children }: SectionProps) => (
-
+
{icon}

{title}

diff --git a/frontend/src/resources/server/stats.tsx b/frontend/src/resources/server/stats.tsx index d6eac1c14..ccb8026c9 100644 --- a/frontend/src/resources/server/stats.tsx +++ b/frontend/src/resources/server/stats.tsx @@ -1,4 +1,5 @@ import { useServerStats } from "@hooks"; +import { Section } from "@layouts/page"; import { Card, CardContent, @@ -14,25 +15,18 @@ export const ServerStats = () => { if (!server_id) return null; return ( -
-
-
- -

Server Stats

-
- {/* - - */} -
-
+
} + actions="" + > +
-
+ ); };