Remove lineHeight from post so that it does not break inline images (#6883)

This commit is contained in:
Elias Nahum
2022-12-20 05:09:27 +02:00
committed by GitHub
parent 315e2c276f
commit 712324c756
2 changed files with 3 additions and 1 deletions

View File

@@ -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),

View File

@@ -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,