From 564890a93eebe577584d65b5e878f6a5975d35f7 Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Fri, 24 Dec 2021 21:41:56 +1100 Subject: [PATCH] Add mobile layout change --- src/pages/showcase/_components/Network.tsx | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/pages/showcase/_components/Network.tsx b/src/pages/showcase/_components/Network.tsx index d40f8013..dd062ae5 100644 --- a/src/pages/showcase/_components/Network.tsx +++ b/src/pages/showcase/_components/Network.tsx @@ -25,14 +25,8 @@ export const Network = ({ id }: NetworkProps): JSX.Element => { fetcher ).data; - return true ? ( - - ) : ( + return (
- - Back - - {data && !error ? (

{data.title}

@@ -127,7 +121,7 @@ export const Network = ({ id }: NetworkProps): JSX.Element => {
)} - {!data &&
Loading...
} + {!data && }
)} @@ -136,10 +130,17 @@ export const Network = ({ id }: NetworkProps): JSX.Element => { export const PlaceholderNetwork = (): JSX.Element => { return ( -
+
768 ? "row" : "column", + gap: "2rem", + }} + >
768 ? "60%" : "100%", }} >
{
768 ? "40%" : "100%", }} >