Skip to content

Commit

Permalink
increased max allowed font size for small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan committed Sep 29, 2024
1 parent 139b17b commit 95c5540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/SettingsDrawer/SettingsDrawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
$: updateSettings({ type: 'verseTranslationText', value: selectableFontSizes[verseTranlationTransliterationSizeValue].value });
$: updateSettings({ type: 'playbackSpeed', value: playbackSpeedValue });
$: maxFontSizeAllowed = ['default', 'sm'].includes(getTailwindBreakpoint()) ? 6 : 12;
$: maxFontSizeAllowed = ['default', 'sm'].includes(getTailwindBreakpoint()) ? 9 : 12;
$: wordTranslationKey = Object.keys(selectableWordTranslations).filter((item) => selectableWordTranslations[item].id === $__wordTranslation);
$: if ($__currentPage || $__settingsDrawerHidden) goBackToMainSettings();
$: {
Expand Down

0 comments on commit 95c5540

Please sign in to comment.