mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-02 02:43:09 +03:00
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:
parent
d6aba950fc
commit
7b67ae9abb
|
@ -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