explain the workaround

This commit is contained in:
or-else
2021-04-26 20:21:35 -07:00
parent 8c5660173c
commit 8715251e9b
+1 -1
View File
@@ -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'
};