Skip to content

Commit f52df89

Browse files
committed
Merge pull request #58 from gaearon/fix-toggle-visibility
Fix devtools visiblity after hiding
2 parents d6aba95 + 7b67ae9 commit f52df89

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/react/DebugPanel.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ export function getDefaultStyle(props) {
2020
right: right ? 0 : undefined,
2121
top: top ? 0 : undefined,
2222
bottom: bottom ? 0 : undefined,
23-
maxHeight: (bottom && top) ? '100%' : '20%',
24-
maxWidth: (left && right) ? '100%' : '20%',
25-
minWidth: 300,
23+
maxHeight: (bottom && top) ? '100%' : '30%',
24+
maxWidth: (left && right) ? '100%' : '30%',
2625
wordWrap: 'break-word',
2726
boxSizing: 'border-box',
2827
boxShadow: '-2px 0 7px 0 rgba(0, 0, 0, 0.5)'

src/react/LogMonitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const styles = {
1010
overflowY: 'hidden',
1111
width: '100%',
1212
height: '100%',
13-
fontSize: '0.95em'
13+
minWidth: 300
1414
},
1515
buttonBar: {
1616
textAlign: 'center',

0 commit comments

Comments
 (0)