Skip to content

Commit

Permalink
Merge pull request #5979 from Glazy/addon-viewport-border-style
Browse files Browse the repository at this point in the history
Change viewport styling to more closely match v4
  • Loading branch information
shilman committed Mar 11, 2019
1 parent 44b4bd0 commit f99fda6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions addons/viewport/src/Tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,12 @@ export default class ViewportTool extends Component {
<Global
styles={{
[`#${iframeId}`]: {
border: '10px solid black',
position: 'relative',
display: 'block',
margin: '10px auto',
border: '1px solid #888',
borderRadius: 4,
margin: 10,
boxShadow: '0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08);',

...(isRotated ? flip(item.value || {}) : item.value || {}),
},
Expand Down

0 comments on commit f99fda6

Please sign in to comment.