forked from Ivasoft/mattermost-mobile
Remove lineHeight from post so that it does not break inline images (#6883)
This commit is contained in:
@@ -59,7 +59,8 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
|
||||
height: 24,
|
||||
},
|
||||
container: {
|
||||
marginBottom: 5,
|
||||
marginVertical: 5,
|
||||
top: 5,
|
||||
},
|
||||
svg: {
|
||||
backgroundColor: changeOpacity(theme.centerChannelColor, 0.06),
|
||||
|
||||
@@ -44,6 +44,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => {
|
||||
message: {
|
||||
color: theme.centerChannelColor,
|
||||
...typography('Body', 200),
|
||||
lineHeight: undefined, // remove line height, not needed and causes problems with md images
|
||||
},
|
||||
pendingPost: {
|
||||
opacity: 0.5,
|
||||
|
||||
Reference in New Issue
Block a user