mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +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,
|
||||
fontSize: '0.90em',
|
||||
listStyle: 'none',
|
||||
fontFamily: 'monospace',
|
||||
MozUserSelect: 'none',
|
||||
WebkitUserSelect: 'none'
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import * as themes from './themes';
|
|||
|
||||
const styles = {
|
||||
container: {
|
||||
fontFamily: 'Monaco, monospace',
|
||||
fontFamily: 'monaco, Consolas, Lucida Console, monospace',
|
||||
position: 'relative',
|
||||
overflowY: 'hidden',
|
||||
width: '100%',
|
||||
|
@ -157,11 +157,7 @@ export default class LogMonitor {
|
|||
|
||||
return (
|
||||
<div style={{...styles.container, backgroundColor: theme.base00}}>
|
||||
<div style={{
|
||||
...styles.buttonBar,
|
||||
backgroundColor: theme.base01,
|
||||
borderBottom: theme.base00
|
||||
}}>
|
||||
<div style={styles.buttonBar}>
|
||||
<LogMonitorButton theme={theme} onClick={::this.handleReset}>Reset</LogMonitorButton>
|
||||
{computedStates.length > 1 &&
|
||||
<LogMonitorButton theme={theme} onClick={::this.handleRollback}>Revert</LogMonitorButton>
|
||||
|
|
Loading…
Reference in New Issue
Block a user