From 17deaaa7e71f33f82383182b47a076b8ba1a75fc Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 18 Jul 2023 15:15:02 -0500 Subject: [PATCH] use calc --- src/view/shell/Composer.web.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/shell/Composer.web.tsx b/src/view/shell/Composer.web.tsx index f178df9a..9b0033fe 100644 --- a/src/view/shell/Composer.web.tsx +++ b/src/view/shell/Composer.web.tsx @@ -62,8 +62,8 @@ const styles = StyleSheet.create({ paddingVertical: 0, paddingHorizontal: 2, borderRadius: isMobileWeb ? 0 : 8, - marginBottom: '10vh', + marginBottom: isMobileWeb ? '61px' : 0, borderWidth: 1, - maxHeight: '85%', + maxHeight: isMobileWeb ? 'calc(100% - 61px)' : 'calc(100% - (40px * 2))', }, })