Set max-width for images in desktop for Grafana
This commit is contained in:
parent
eb39540c6d
commit
9d33998486
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue