mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
Consolidated font stack to be the same across all devtool
This commit is contained in:
parent
98d5ed3706
commit
c0afa393f5
|
@ -15,7 +15,6 @@ const styles = {
|
||||||
margin: 0,
|
margin: 0,
|
||||||
fontSize: '0.90em',
|
fontSize: '0.90em',
|
||||||
listStyle: 'none',
|
listStyle: 'none',
|
||||||
fontFamily: 'monospace',
|
|
||||||
MozUserSelect: 'none',
|
MozUserSelect: 'none',
|
||||||
WebkitUserSelect: 'none'
|
WebkitUserSelect: 'none'
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ import * as themes from './themes';
|
||||||
|
|
||||||
const styles = {
|
const styles = {
|
||||||
container: {
|
container: {
|
||||||
fontFamily: 'Monaco, monospace',
|
fontFamily: 'monaco, Consolas, Lucida Console, monospace',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
overflowY: 'hidden',
|
overflowY: 'hidden',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
@ -157,11 +157,7 @@ export default class LogMonitor {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{...styles.container, backgroundColor: theme.base00}}>
|
<div style={{...styles.container, backgroundColor: theme.base00}}>
|
||||||
<div style={{
|
<div style={styles.buttonBar}>
|
||||||
...styles.buttonBar,
|
|
||||||
backgroundColor: theme.base01,
|
|
||||||
borderBottom: theme.base00
|
|
||||||
}}>
|
|
||||||
<LogMonitorButton theme={theme} onClick={::this.handleReset}>Reset</LogMonitorButton>
|
<LogMonitorButton theme={theme} onClick={::this.handleReset}>Reset</LogMonitorButton>
|
||||||
{computedStates.length > 1 &&
|
{computedStates.length > 1 &&
|
||||||
<LogMonitorButton theme={theme} onClick={::this.handleRollback}>Revert</LogMonitorButton>
|
<LogMonitorButton theme={theme} onClick={::this.handleRollback}>Revert</LogMonitorButton>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user