From 6893f9bfcdc858a17f2e7144967ba84917a7ff9f Mon Sep 17 00:00:00 2001 From: Oreo Oreoniv <28255085+zKoz210@users.noreply.github.com> Date: Sat, 3 Oct 2020 21:21:09 +0300 Subject: [PATCH] Fixes for mobile responsiveness on the console page (#2411) --- .../components/server/ServerConsole.tsx | 4 +- .../scripts/components/server/StatGraphs.tsx | 40 ++++++++++--------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/resources/scripts/components/server/ServerConsole.tsx b/resources/scripts/components/server/ServerConsole.tsx index 05470078a..edf10d130 100644 --- a/resources/scripts/components/server/ServerConsole.tsx +++ b/resources/scripts/components/server/ServerConsole.tsx @@ -65,7 +65,7 @@ export default () => { return ( -
+

{

}
-
+
diff --git a/resources/scripts/components/server/StatGraphs.tsx b/resources/scripts/components/server/StatGraphs.tsx index 399b96724..725373b30 100644 --- a/resources/scripts/components/server/StatGraphs.tsx +++ b/resources/scripts/components/server/StatGraphs.tsx @@ -142,24 +142,28 @@ export default () => { return (
- - {status !== 'offline' ? - - : -

- Server is offline. -

- } -
- - {status !== 'offline' ? - - : -

- Server is offline. -

- } -
+
+ + {status !== 'offline' ? + + : +

+ Server is offline. +

+ } +
+
+
+ + {status !== 'offline' ? + + : +

+ Server is offline. +

+ } +
+
); };