From 8715251e9bb808c6b6f2b1e021c8939fe9550510 Mon Sep 17 00:00:00 2001 From: or-else Date: Mon, 26 Apr 2021 20:21:35 -0700 Subject: [PATCH] explain the workaround --- src/widgets/chat-message.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/chat-message.jsx b/src/widgets/chat-message.jsx index d8314058..7e536ac3 100644 --- a/src/widgets/chat-message.jsx +++ b/src/widgets/chat-message.jsx @@ -192,7 +192,7 @@ function draftyFormatter(style, data, values, key) { attr.style = { width: dim.dstWidth + 'px', height: dim.dstHeight + 'px', - // Looks like a Chrome bug. + // Looks like a Chrome bug: broken image does not respect 'width' and 'height'. minWidth: dim.dstWidth + 'px', minHeight: dim.dstHeight + 'px' };