Skip to content

Commit

Permalink
[chore] updates style page
Browse files Browse the repository at this point in the history
  • Loading branch information
hdix authored and diasbruno committed Jan 28, 2018
1 parent f5b9c11 commit c7c928c
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions docs/styles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
Styles passed into the Modal via the `style` prop are merged with the defaults. The default styles are:

```js
{
overlay : {
position : 'fixed',
top : 0,
left : 0,
right : 0,
bottom : 0,
backgroundColor : 'rgba(255, 255, 255, 0.75)'
style={{
overlay: {
position: 'fixed',
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundColor: 'rgba(255, 255, 255, 0.75)'
},
content : {
position : 'absolute',
top : '40px',
left : '40px',
right : '40px',
bottom : '40px',
border : '1px solid #ccc',
background : '#fff',
overflow : 'auto',
WebkitOverflowScrolling : 'touch',
borderRadius : '4px',
outline : 'none',
padding : '20px'
content: {
position: 'absolute',
top: '40px',
left: '40px',
right: '40px',
bottom: '40px',
border: '1px solid #ccc',
background: '#fff',
overflow: 'auto',
WebkitOverflowScrolling: 'touch',
borderRadius: '4px',
outline: 'none',
padding: '20px'
}
}
}}
```

0 comments on commit c7c928c

Please sign in to comment.