mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-16 19:40:58 +03:00
Merge pull request #58 from gaearon/fix-toggle-visibility
Fix devtools visiblity after hiding
This commit is contained in:
commit
f52df89d66
|
@ -20,9 +20,8 @@ export function getDefaultStyle(props) {
|
||||||
right: right ? 0 : undefined,
|
right: right ? 0 : undefined,
|
||||||
top: top ? 0 : undefined,
|
top: top ? 0 : undefined,
|
||||||
bottom: bottom ? 0 : undefined,
|
bottom: bottom ? 0 : undefined,
|
||||||
maxHeight: (bottom && top) ? '100%' : '20%',
|
maxHeight: (bottom && top) ? '100%' : '30%',
|
||||||
maxWidth: (left && right) ? '100%' : '20%',
|
maxWidth: (left && right) ? '100%' : '30%',
|
||||||
minWidth: 300,
|
|
||||||
wordWrap: 'break-word',
|
wordWrap: 'break-word',
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
boxShadow: '-2px 0 7px 0 rgba(0, 0, 0, 0.5)'
|
boxShadow: '-2px 0 7px 0 rgba(0, 0, 0, 0.5)'
|
||||||
|
|
|
@ -10,7 +10,7 @@ const styles = {
|
||||||
overflowY: 'hidden',
|
overflowY: 'hidden',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
fontSize: '0.95em'
|
minWidth: 300
|
||||||
},
|
},
|
||||||
buttonBar: {
|
buttonBar: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user