Skip to content

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

change size on tablet

ammarahm-ed6d8005feedb6
diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.js
index 4448a16ca..e32f2daee 100644
--- a/apps/mobile/src/components/LoginDialog/index.js
+++ b/apps/mobile/src/components/LoginDialog/index.js
@@ -231,7 +231,15 @@ const LoginDialog = () => {
) : null}
<View
style={{
- height: DDS.isTab ? (login ? '70%' : '80%') : '100%',
+ height: DDS.isTab && !DDS.isSmallTab
+ ? login
+ ? '70%'
+ : '80%'
+ : DDS.isSmallTab
+ ? login
+ ? '50%'
+ : '65%'
+ : '100%',
width: DDS.isTab ? 500 : '100%',
backgroundColor: colors.bg,
justifyContent: 'center',