From 820354aa2e7da9b800f23de64cdb6a399a6e9517 Mon Sep 17 00:00:00 2001 From: Taso Date: Mon, 18 Jan 2021 12:00:25 -0500 Subject: [PATCH] Misc(styling): Fixed AppContent shenanigans with height --- phone/src/ui/components/AppContent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phone/src/ui/components/AppContent.tsx b/phone/src/ui/components/AppContent.tsx index f8069ca..5fb88af 100644 --- a/phone/src/ui/components/AppContent.tsx +++ b/phone/src/ui/components/AppContent.tsx @@ -4,7 +4,7 @@ import { AppContentTypes } from '../interface/InterfaceUI'; const useStyles = makeStyles(() => ({ wrapper: { - height: '70vh', // NOTE: Taso: Hacky change temp, this should be done automatically tbh. Will refactor at some point + flex: 1, overflow: 'auto', }, box: { @@ -39,7 +39,7 @@ export const AppContent = ({ className={classes.backdrop} open={backdrop || false} onClick={onClickBackdrop} - > + /> {children}