Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix toast padding

ammarahm-edf0d9ccb9dc4d
diff --git a/apps/mobile/src/components/Toast/index.js b/apps/mobile/src/components/Toast/index.js
index f01a2e2ea..e4cbe567a 100644
--- a/apps/mobile/src/components/Toast/index.js
+++ b/apps/mobile/src/components/Toast/index.js
@@ -126,7 +126,6 @@ export const Toast = ({context = 'global'}) => {
width: '100%',
alignItems: 'center',
minHeight: 30,
- paddingVertical:10,
bottom: keyboard ? 30 : 100,
position: 'absolute',
zIndex: 999,
@@ -148,7 +147,8 @@ export const Toast = ({context = 'global'}) => {
minWidth: data.func ? '95%' : '50%',
alignSelf: 'center',
borderRadius: 5,
- height: 50,
+ minHeight: 30,
+ paddingVertical: 10,
paddingHorizontal: 15,
justifyContent: 'space-between',
flexDirection: 'row',