Fix devtools visiblity after hidding

* Increase max width/height to 30%
* Move min width to child
* Increase font size slightly in tree
This commit is contained in:
Nic Aitch 2015-08-12 15:31:58 -05:00
parent d6aba950fc
commit 7b67ae9abb
2 changed files with 3 additions and 4 deletions

View File

@ -20,9 +20,8 @@ export function getDefaultStyle(props) {
right: right ? 0 : undefined,
top: top ? 0 : undefined,
bottom: bottom ? 0 : undefined,
maxHeight: (bottom && top) ? '100%' : '20%',
maxWidth: (left && right) ? '100%' : '20%',
minWidth: 300,
maxHeight: (bottom && top) ? '100%' : '30%',
maxWidth: (left && right) ? '100%' : '30%',
wordWrap: 'break-word',
boxSizing: 'border-box',
boxShadow: '-2px 0 7px 0 rgba(0, 0, 0, 0.5)'

View File

@ -10,7 +10,7 @@ const styles = {
overflowY: 'hidden',
width: '100%',
height: '100%',
fontSize: '0.95em'
minWidth: 300
},
buttonBar: {
textAlign: 'center',