Patch react-native-math-view for consistent inline LaTeX height on Android and iOS (#7742)
Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
parent
106324335c
commit
6a538e32af
1 changed files with 14 additions and 0 deletions
14
patches/react-native-math-view+3.9.5.patch
Normal file
14
patches/react-native-math-view+3.9.5.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
diff --git a/node_modules/react-native-math-view/src/common.tsx b/node_modules/react-native-math-view/src/common.tsx
|
||||
index a599184..4e4830a 100644
|
||||
--- a/node_modules/react-native-math-view/src/common.tsx
|
||||
+++ b/node_modules/react-native-math-view/src/common.tsx
|
||||
@@ -61,8 +61,7 @@ export const getPreserveAspectRatio = (alignment: string, scale: string) => `${a
|
||||
export const styles = StyleSheet.create({
|
||||
container: {
|
||||
//flexDirection: 'row',
|
||||
- display: 'flex',
|
||||
- minHeight: 35
|
||||
+ display: 'flex'
|
||||
},
|
||||
contain: {
|
||||
maxWidth: '100%',
|
||||
Loading…
Reference in a new issue