diff --git a/src/components/autoHeightImage/autoHeightImage.tsx b/src/components/autoHeightImage/autoHeightImage.tsx index d222a43d2..904da9e21 100644 --- a/src/components/autoHeightImage/autoHeightImage.tsx +++ b/src/components/autoHeightImage/autoHeightImage.tsx @@ -37,7 +37,7 @@ import { TouchableWithoutFeedback } from "react-native-gesture-handler"; } const imgStyle = { - width:imgWidth, + width:imgWidth - 10, height:imgHeight, backgroundColor: onLoadCalled ? 'transparent' : EStyleSheet.value('$primaryGray') } diff --git a/src/components/postHtmlRenderer/postHtmlRenderer.tsx b/src/components/postHtmlRenderer/postHtmlRenderer.tsx index 6ecda43fb..9f30fcda0 100644 --- a/src/components/postHtmlRenderer/postHtmlRenderer.tsx +++ b/src/components/postHtmlRenderer/postHtmlRenderer.tsx @@ -176,7 +176,7 @@ export const PostHtmlRenderer = memo( } //return divided width based on number td tags - if (tnode.parent.tagName === 'td') { + if (tnode.parent.tagName === 'td' || tnode.parent.tagName === 'th') { const cols = tnode.parent.parent.children.length; return contentWidth / cols; }