diff --git a/src/pages/home/report/ReportActionItemFragment.js b/src/pages/home/report/ReportActionItemFragment.js index 19fa6d6982e3..05cba64e6236 100644 --- a/src/pages/home/report/ReportActionItemFragment.js +++ b/src/pages/home/report/ReportActionItemFragment.js @@ -114,11 +114,13 @@ const ReportActionItemFragment = (props) => { return ${htmlContent}` : `${htmlContent}`} />; } + const containsOnlyEmojis = EmojiUtils.containsOnlyEmojis(text); + return ( {convertToLTR(Str.htmlDecode(text))} {Boolean(props.fragment.isEdited) && ( @@ -129,7 +131,7 @@ const ReportActionItemFragment = (props) => { > {' '} diff --git a/src/styles/styles.js b/src/styles/styles.js index af1d080ff42d..88e5b043f387 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -1209,6 +1209,10 @@ const styles = { lineHeight: variables.fontSizeOnlyEmojisHeight, }, + onlyEmojisTextLineHeight: { + lineHeight: variables.fontSizeOnlyEmojisHeight, + }, + createMenuPositionSidebar: (windowHeight) => ({ horizontal: 18, vertical: windowHeight - 100,