mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
Increase node indentation
This commit is contained in:
parent
0e6c4d2f75
commit
6af5d98799
|
@ -7,10 +7,10 @@ import grabNode from './grab-node';
|
|||
const styles = {
|
||||
base: {
|
||||
position: 'relative',
|
||||
paddingTop: 2,
|
||||
paddingBottom: 2,
|
||||
paddingRight: 4,
|
||||
marginLeft: 3
|
||||
paddingTop: 3,
|
||||
paddingBottom: 3,
|
||||
paddingRight: 0,
|
||||
marginLeft: 14
|
||||
},
|
||||
label: {
|
||||
margin: 0,
|
||||
|
|
|
@ -3,10 +3,11 @@ import React from 'react';
|
|||
const styles = {
|
||||
base: {
|
||||
display: 'inline-block',
|
||||
marginLeft: -15,
|
||||
marginLeft: 0,
|
||||
marginTop: 8,
|
||||
marginRight: 5,
|
||||
'float': 'left',
|
||||
transition: '150ms',
|
||||
marginTop: 7,
|
||||
WebkitTransition: '150ms',
|
||||
MozTransition: '150ms',
|
||||
borderLeft: '5px solid transparent',
|
||||
|
|
|
@ -5,10 +5,10 @@ import hexToRgb from '../../utils/hexToRgb';
|
|||
|
||||
const styles = {
|
||||
base: {
|
||||
paddingTop: 2,
|
||||
paddingBottom: 2,
|
||||
paddingRight: 4,
|
||||
marginLeft: 10
|
||||
paddingTop: 3,
|
||||
paddingBottom: 3,
|
||||
paddingRight: 0,
|
||||
marginLeft: 14
|
||||
},
|
||||
label: {
|
||||
display: 'inline-block',
|
||||
|
|
|
@ -5,10 +5,10 @@ import hexToRgb from '../../utils/hexToRgb';
|
|||
|
||||
const styles = {
|
||||
base: {
|
||||
paddingTop: 2,
|
||||
paddingBottom: 2,
|
||||
paddingRight: 4,
|
||||
marginLeft: 10
|
||||
paddingTop: 3,
|
||||
paddingBottom: 3,
|
||||
paddingRight: 0,
|
||||
marginLeft: 14
|
||||
},
|
||||
label: {
|
||||
display: 'inline-block',
|
||||
|
|
|
@ -5,10 +5,10 @@ import hexToRgb from '../../utils/hexToRgb';
|
|||
|
||||
const styles = {
|
||||
base: {
|
||||
paddingTop: 2,
|
||||
paddingBottom: 2,
|
||||
paddingRight: 4,
|
||||
marginLeft: 10
|
||||
paddingTop: 3,
|
||||
paddingBottom: 3,
|
||||
paddingRight: 0,
|
||||
marginLeft: 14
|
||||
},
|
||||
label: {
|
||||
display: 'inline-block',
|
||||
|
|
|
@ -7,10 +7,9 @@ import grabNode from './grab-node';
|
|||
const styles = {
|
||||
base: {
|
||||
position: 'relative',
|
||||
paddingTop: 2,
|
||||
paddingBottom: 2,
|
||||
paddingRight: 4,
|
||||
marginLeft: 3
|
||||
paddingTop: 3,
|
||||
paddingBottom: 3,
|
||||
marginLeft: 14
|
||||
},
|
||||
label: {
|
||||
margin: 0,
|
||||
|
|
|
@ -5,10 +5,10 @@ import hexToRgb from '../../utils/hexToRgb';
|
|||
|
||||
const styles = {
|
||||
base: {
|
||||
paddingTop: 2,
|
||||
paddingBottom: 2,
|
||||
paddingRight: 4,
|
||||
marginLeft: 10
|
||||
paddingTop: 3,
|
||||
paddingBottom: 3,
|
||||
paddingRight: 0,
|
||||
marginLeft: 14
|
||||
},
|
||||
label: {
|
||||
display: 'inline-block',
|
||||
|
|
|
@ -12,7 +12,10 @@ const styles = {
|
|||
tree: {
|
||||
border: 0,
|
||||
padding: 0,
|
||||
margin: 0,
|
||||
marginTop: 8,
|
||||
marginBottom: 8,
|
||||
marginLeft: 2,
|
||||
marginRight: 0,
|
||||
fontSize: '0.90em',
|
||||
listStyle: 'none',
|
||||
MozUserSelect: 'none',
|
||||
|
|
|
@ -8,7 +8,7 @@ const styles = {
|
|||
WebkitUserSelect: 'none'
|
||||
},
|
||||
tree: {
|
||||
paddingLeft: 5
|
||||
paddingLeft: 0
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -72,9 +72,7 @@ export default class LogMonitorEntry {
|
|||
onClick={::this.handleActionClick}
|
||||
style={{...styles.entry, ...styleEntry}}/>
|
||||
{!collapsed &&
|
||||
<div style={{
|
||||
paddingLeft: 15
|
||||
}}>
|
||||
<div>
|
||||
{this.printState(state, error)}
|
||||
</div>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user