diff --git a/app/components/markdown/markdown_latex_inline/index.tsx b/app/components/markdown/markdown_latex_inline/index.tsx index 4495d7445..937d3b8ae 100644 --- a/app/components/markdown/markdown_latex_inline/index.tsx +++ b/app/components/markdown/markdown_latex_inline/index.tsx @@ -3,7 +3,7 @@ import React from 'react'; import {useIntl} from 'react-intl'; -import {Text, View, type DimensionValue} from 'react-native'; +import {Platform, Text, View, type DimensionValue} from 'react-native'; import ErrorBoundary from '@components/markdown/error_boundary'; import MathView from '@components/math_view'; @@ -23,7 +23,8 @@ type MathViewErrorProps = { const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => { return { mathStyle: { - marginVertical: 3, + marginVertical: Platform.select({ios: 1.5, default: 0}), + alignItems: 'center', color: theme.centerChannelColor, }, viewStyle: {