diff options
author | 2019-04-08 17:43:39 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:54 +0300 | |
commit | d80c7fe07dfc330c8793adccc7e580479d7275b2 (patch) | |
tree | 48d015c5ce51a149f5f7106fa6488b812701eed1 /vnext/src/components | |
parent | fd44e344b1b97ad75623796cbe2066fa72d17e37 (diff) |
Comment layout fix
Diffstat (limited to 'vnext/src/components')
-rw-r--r-- | vnext/src/components/Thread.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 1dd7d3cc..90a7be90 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -48,9 +48,11 @@ function Comment({ msg, visitor, active, setActive, postComment }) { } { msg.photo && - <p className="ir"><a href={`//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} data-fname={`${msg.mid}-${msg.rid}.${msg.attach}`}> - <img src={`//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} alt="" /></a> - </p> + <div className="msg-media"> + <a href={`//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} data-fname={`${msg.mid}-${msg.rid}.${msg.attach}`}> + <img src={`//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} alt="" /> + </a> + </div> } <div className="embedContainer" ref={embedRef} /> <div className="msg-links"> |