aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Message.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Message.js')
-rw-r--r--vnext/src/components/Message.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js
index 6c78b4bc..c8435a1e 100644
--- a/vnext/src/components/Message.js
+++ b/vnext/src/components/Message.js
@@ -50,9 +50,11 @@ export default function Message({ data, visitor, children, ...rest }) {
}
{
data.photo &&
- <p className="ir"><a href={`//i.juick.com/p/${data.mid}.${data.attach}`} data-fname={`${data.mid}.${data.attach}`}>
- <img src={`//i.juick.com/photos-512/${data.mid}.${data.attach}`} alt="" /></a>
- </p>
+ <div className="msg-media">
+ <a href={`//i.juick.com/p/${data.mid}.${data.attach}`} data-fname={`${data.mid}.${data.attach}`}>
+ <img src={`//i.juick.com/photos-512/${data.mid}.${data.attach}`} alt="" />
+ </a>
+ </div>
}
<div className="embedContainer" ref={embedRef} />
<nav className="l">