From 644ba3ebeec125e3cfa2811f5ec35b0ee13306ad Mon Sep 17 00:00:00 2001 From: Pablo Carballeda Date: Tue, 24 Jan 2023 19:49:59 +0100 Subject: [PATCH] Minor UI fixes -Spacing in add contact bottom sheet. -Properly position FABs in some views. --- frontend/Pages/ContactsFeed/index.tsx | 19 ++++++++++++++++--- frontend/Pages/ConversationsFeed/index.tsx | 2 +- frontend/Pages/HomeFeed/index.tsx | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/frontend/Pages/ContactsFeed/index.tsx b/frontend/Pages/ContactsFeed/index.tsx index 66f6f389..3455b9eb 100644 --- a/frontend/Pages/ContactsFeed/index.tsx +++ b/frontend/Pages/ContactsFeed/index.tsx @@ -186,7 +186,9 @@ export const ContactsFeed: React.FC = () => { return { container: { backgroundColor: theme.colors.background, - padding: 16, + paddingLeft: 16, + paddingRight: 16, + paddingBottom: 32, borderTopRightRadius: 28, borderTopLeftRadius: 28, }, @@ -312,7 +314,7 @@ export const ContactsFeed: React.FC = () => { {renderScene[tabKey]} {privateKey && ( bottomSheetAddContactRef.current?.open()} @@ -325,7 +327,6 @@ export const ContactsFeed: React.FC = () => { @@ -341,6 +342,7 @@ export const ContactsFeed: React.FC = () => { {t('contactsFeed.addContactTitle')} {t('contactsFeed.addContactDescription')} { } />