aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Thread.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-08 17:43:39 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commitd80c7fe07dfc330c8793adccc7e580479d7275b2 (patch)
tree48d015c5ce51a149f5f7106fa6488b812701eed1 /vnext/src/components/Thread.js
parentfd44e344b1b97ad75623796cbe2066fa72d17e37 (diff)
Comment layout fix
Diffstat (limited to 'vnext/src/components/Thread.js')
-rw-r--r--vnext/src/components/Thread.js8
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">