Describe the bug
Fractions are cut off on iOS
To Reproduce
- Without line height, text is cut off
<EnrichedMarkdownText
flavor="github"
markdownStyle={{
paragraph: { fontSize: 25, },
inlineMath: {},
}}
markdown={'Foo $\\frac{4}{1}$'}
containerStyle={{ backgroundColor: 'white' }}
/>
- With line height, the text is not vertically centered
<EnrichedMarkdownText
flavor="github"
markdownStyle={{
paragraph: { fontSize: 25, lineHeight: 50 },
inlineMath: {},
}}
markdown={'Foo $\\frac{4}{1}$'}
containerStyle={{ backgroundColor: 'white' }}
/>
- Setting a line height where the fraction is visible for the font size (eg
lineHeight: fontSize * 2) will still lead to text being cut off for some latex expressions eg: $\\left| \\displaystyle\\frac{(-6) \\cdot 5}{-2} \\right|$
Device (please complete the following information):
Describe the bug
Fractions are cut off on iOS
To Reproduce
lineHeight: fontSize * 2) will still lead to text being cut off for some latex expressions eg:$\\left| \\displaystyle\\frac{(-6) \\cdot 5}{-2} \\right|$Device (please complete the following information):