Skip to content

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

resize dialogs on small tablets

ammarahm-ed0825bbcd899f
diff --git a/apps/mobile/src/components/Dialog/DialogContainer.js b/apps/mobile/src/components/Dialog/DialogContainer.js
index 07e5c6ac4..f14b75888 100644
--- a/apps/mobile/src/components/Dialog/DialogContainer.js
+++ b/apps/mobile/src/components/Dialog/DialogContainer.js
@@ -13,7 +13,7 @@ const DialogContainer = ({width, height, ...restProps}) => {
{...restProps}
style={{
...getElevation(5),
- width: width || DDS.isLargeTablet() ? 350 : '85%',
+ width: width || DDS.isTab ? 400 : '85%',
maxHeight: height || 350,
borderRadius: 5,
backgroundColor: colors.bg,