mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:21:27 +08:00
Merge pull request #5993 from evolutionxbox/fix/5927-viewport-box-sizing
bug fix (addons/viewport): viewport iframe dimensions
This commit is contained in:
commit
85c05f0874
@ -135,6 +135,7 @@ export default class ViewportTool extends Component {
|
||||
border: '1px solid #888',
|
||||
borderRadius: 4,
|
||||
boxShadow: '0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08);',
|
||||
boxSizing: 'content-box',
|
||||
|
||||
...(isRotated ? flip(item.value || {}) : item.value || {}),
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user