diff --git a/ai2html.js b/ai2html.js index 7a3c2e1..7771b04 100644 --- a/ai2html.js +++ b/ai2html.js @@ -1768,7 +1768,14 @@ function getArtboardWidthRange(ab, settings) { var w = getArtboardWidth(ab); var visibleRange = getArtboardVisibilityRange(ab, settings); if (responsiveness == 'fixed') { - return [visibleRange[0] === 0 ? 0 : w, w]; + if (visibleRange[0] === 0) { + // For the smallest artboard, use the actual artboard width, not the + // potentially overridden width + var actualW = convertAiBounds(ab.artboardRect).width + return [0, actualW]; + } else { + return [w, w]; + } } return visibleRange; }