diff --git a/lib/support/annotationsHelper.js b/lib/support/annotationsHelper.js index ed2140721..5c1f3b4f4 100644 --- a/lib/support/annotationsHelper.js +++ b/lib/support/annotationsHelper.js @@ -6,7 +6,9 @@ export function getAnnotationMessage( usingBrowsertime, options ) { - const screenshotSize = options.mobile ? 'height=200px' : 'width=100%'; + const screenshotSize = options.mobile + ? 'height=200px' + : 'style="max-width:400px;height:auto;"'; const resultPageUrl = absolutePagePath + 'index.html'; let screenshotPath; if (screenShotsEnabledInBrowsertime) {