diff options
author | Eric Bailey <git@esb.lol> | 2023-07-18 15:15:02 -0500 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2023-07-18 15:15:02 -0500 |
commit | 17deaaa7e71f33f82383182b47a076b8ba1a75fc (patch) | |
tree | e65e16ebf799c01a1ef55def69c3baf0c5dc5bad | |
parent | ea567362a1db7ba67f127ba5393bbfe384f8db62 (diff) | |
download | voidsky-17deaaa7e71f33f82383182b47a076b8ba1a75fc.tar.zst |
use calc
-rw-r--r-- | src/view/shell/Composer.web.tsx | 4 |
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))', }, }) |