explain the workaround
This commit is contained in:
@@ -192,7 +192,7 @@ function draftyFormatter(style, data, values, key) {
|
|||||||
attr.style = {
|
attr.style = {
|
||||||
width: dim.dstWidth + 'px',
|
width: dim.dstWidth + 'px',
|
||||||
height: dim.dstHeight + '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',
|
minWidth: dim.dstWidth + 'px',
|
||||||
minHeight: dim.dstHeight + 'px'
|
minHeight: dim.dstHeight + 'px'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user