Latex styling update for incorrect baseline for the respective mobile OS (#9238)
* Latex styling update for incorrect baseline for the respective mobile OS * Fixed style formatting causing the pipeline to fail * Updated Platform OS method to Platform Select for latex styling
This commit is contained in:
parent
c0eaeefbe0
commit
dbd7575f41
1 changed files with 3 additions and 2 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue