Merge pull request #974 from felipebueno/reader_view_compatibility
Enable readerView compatibility (issue #884)
This commit is contained in:
commit
b18b5d1638
|
@ -140,7 +140,7 @@ function TopLevelItem ({ item, noReply, ...props }) {
|
|||
belowTitle={item.forwards && item.forwards.length > 0 && <FwdUsers forwards={item.forwards} />}
|
||||
{...props}
|
||||
>
|
||||
<div className={styles.fullItemContainer} ref={textRef}>
|
||||
<article className={styles.fullItemContainer} ref={textRef}>
|
||||
{item.text && <ItemText item={item} />}
|
||||
{item.url && <ItemEmbed item={item} />}
|
||||
{item.poll && <Poll item={item} />}
|
||||
|
@ -157,7 +157,7 @@ function TopLevelItem ({ item, noReply, ...props }) {
|
|||
{numWithUnits(item.bounty, { abbreviate: false, format: true })} bounty
|
||||
</div>)}
|
||||
</div>}
|
||||
</div>
|
||||
</article>
|
||||
{!noReply &&
|
||||
<>
|
||||
<Reply item={item} replyOpen placeholder={item.ncomments > 3 ? 'fractions of a penny for your thoughts?' : 'early comments get more zaps'} onCancelQuote={cancelQuote} onQuoteReply={quoteReply} quote={quote} />
|
||||
|
|
Loading…
Reference in New Issue