From cf2d76023c6c6ee9b5762175a76e810fa3f6eb80 Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Fri, 24 Apr 2020 00:46:24 -0700 Subject: [PATCH] safari layout fix --- src/WardrobePage.js | 93 +++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 45 deletions(-) diff --git a/src/WardrobePage.js b/src/WardrobePage.js index e929bc5..865991d 100644 --- a/src/WardrobePage.js +++ b/src/WardrobePage.js @@ -44,56 +44,59 @@ function WardrobePage() { }, [error, toast]); return ( - + - - - - - - + }} + templateRows={{ + base: "minmax(100px, 1fr) auto minmax(300px, 1fr)", + lg: "auto 1fr", + }} + templateColumns={{ + base: "100%", + lg: "50% 50%", + }} + height="100%" + width="100%" + > + + - - - - {searchQuery ? ( - - ) : ( - - )} + + + + - - + + + {searchQuery ? ( + + ) : ( + + )} + + + + ); }