From 3dd19bb33d662f02067b10ab100df94272ab9233 Mon Sep 17 00:00:00 2001 From: MauriceNino Date: Wed, 15 Jun 2022 23:06:31 +0200 Subject: [PATCH] fix(view): mobile view cutting off content --- apps/view/src/components/glass-pane.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/view/src/components/glass-pane.tsx b/apps/view/src/components/glass-pane.tsx index 610d50b4f..cea3ed385 100644 --- a/apps/view/src/components/glass-pane.tsx +++ b/apps/view/src/components/glass-pane.tsx @@ -8,7 +8,7 @@ type SCProps = GlassPaneProps & { mobile: boolean }; const Container = styled.div` min-width: ${({ minWidth, mobile }) => (mobile ? 0 : minWidth)}px; min-height: 360px; - max-height: 500px; + max-height: ${({ mobile }) => (mobile ? 'unset' : '500px')}; flex-grow: ${props => props.grow ?? 1}; transition: opacity 0.3 ease-in-out;