From 17deaaa7e71f33f82383182b47a076b8ba1a75fc Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Tue, 18 Jul 2023 15:15:02 -0500
Subject: use calc

---
 src/view/shell/Composer.web.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/view/shell/Composer.web.tsx')

diff --git a/src/view/shell/Composer.web.tsx b/src/view/shell/Composer.web.tsx
index f178df9aa..9b0033fe6 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))',
   },
 })
-- 
cgit 1.4.1

