forked from elastic/eui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloki.config.js
More file actions
23 lines (23 loc) · 750 Bytes
/
loki.config.js
File metadata and controls
23 lines (23 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
// We're adding EUI-specific wrapper elements in .storybook/preview.tsx.
// Please keep in sync with .storybook/loki.ts
chromeSelector: '#story-wrapper > *',
chromeRetries: 3,
chromeDockerImage: 'yukinying/chrome-headless-browser-stable:latest',
chromeFlags: '--headless --disable-gpu --hide-scrollbars --force-prefers-reduced-motion',
configurations: {
'chrome.desktop': {
target: 'chrome.docker',
width: 1440,
height: 900,
},
'chrome.mobile': {
target: 'chrome.docker',
preset: 'iPhone 7',
// Override default iPhone 7 screen dimensions but keep other
// preset properties like features and Safari user agent
width: 390,
height: 844,
},
},
};