view more viewheight

This commit is contained in:
keyan 2023-12-04 20:08:52 -06:00
parent e8e22ad7d4
commit 82a1b450f5
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export default memo(function Text ({ nofollow, imgproxyUrls, children, tab, ...o
const container = containerRef.current
if (!container || overflowing) return
setOverflowing(container.scrollHeight > window.innerHeight)
setOverflowing(container.scrollHeight > window.innerHeight * 2)
}, [containerRef.current])
// all the reactStringReplace calls are to facilitate search highlighting