diff options
Diffstat (limited to 'assets/js/core')
-rw-r--r-- | assets/js/core/modal.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/js/core/modal.js b/assets/js/core/modal.js index 0bbd975b..d3b14192 100644 --- a/assets/js/core/modal.js +++ b/assets/js/core/modal.js @@ -124,6 +124,10 @@ function getWidth(size) { var viewport = KB.utils.getViewportSize(); + if (viewport.width < 700) { + return '99%'; + } + switch (size) { case 'large': return viewport.width < 1350 ? '98%' : '1350px'; |