about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-07-18 15:15:02 -0500
committerEric Bailey <git@esb.lol>2023-07-18 15:15:02 -0500
commit17deaaa7e71f33f82383182b47a076b8ba1a75fc (patch)
treee65e16ebf799c01a1ef55def69c3baf0c5dc5bad /src
parentea567362a1db7ba67f127ba5393bbfe384f8db62 (diff)
downloadvoidsky-17deaaa7e71f33f82383182b47a076b8ba1a75fc.tar.zst
use calc
Diffstat (limited to 'src')
-rw-r--r--src/view/shell/Composer.web.tsx4
1 files changed, 2 insertions, 2 deletions
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))',
   },
 })