Skip to content

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

fix accent color buttons are too big on small tablets

ammarahm-ed8c52a8a51524
diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js
index 61bfb782b..954ff81bd 100644
--- a/apps/mobile/src/views/Settings/index.js
+++ b/apps/mobile/src/views/Settings/index.js
@@ -891,9 +891,13 @@ const SettingsAppearanceSection = () => {
marginHorizontal: 5,
width: DDS.isLargeTablet()
? ((dWidth - 24 - 6 * 12) * 0.85 * 0.28) / 6
+ : DDS.isSmallTab
+ ? (dWidth * 0.5 - 24 - 6 * 12) / 6
: (dWidth - 24 - 6 * 12) / 6,
height: DDS.isLargeTablet()
? ((dWidth - 24 - 6 * 12) * 0.85 * 0.28) / 6
+ : DDS.isSmallTab
+ ? (dWidth * 0.5 - 24 - 6 * 12) / 6
: (dWidth - 24 - 6 * 12) / 6,
borderRadius: 100,
}}>