Skip to content

Commit

Permalink
increase font-size in practice modes
Browse files Browse the repository at this point in the history
  • Loading branch information
saparagus committed Dec 26, 2024
1 parent 303feac commit f7b8307
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/util/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,9 @@ export const tooltipFontSizes = { Syriac: '1rem' }

export const getTextStyle = (language, type) => {
let style = {}

if (type !== 'title') {style = { fontSize: '1.15rem' }}

if (rightAlignedLanguages.includes(language)) style = { textAlign: 'right', direction: 'rtl' }
if (specialFonts[language]) style = { ...style, ...specialFonts[language] }
if (type === 'title' && titleFontSizes[language]) {
Expand Down

0 comments on commit f7b8307

Please sign in to comment.