mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 01:26:48 +03:00
Default monitors to a monospace font (#1051)
This commit is contained in:
parent
c379a62081
commit
c8f36e9c26
|
@ -27,7 +27,7 @@ class Slider extends Component<Props> {
|
|||
}
|
||||
render() {
|
||||
return (
|
||||
<SliderWrapper>
|
||||
<SliderWrapper className="slider">
|
||||
<SliderMonitor
|
||||
{...this.props.liftedState}
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
|
|
|
@ -25,7 +25,8 @@ export const MainContainerWrapper = styled.div`
|
|||
|
||||
.CodeMirror div,
|
||||
pre,
|
||||
.monitor-LogMonitor * {
|
||||
.monitor div,
|
||||
.slider div {
|
||||
font-family: ${(props) =>
|
||||
props.theme.codeFontFamily || props.theme.fontFamily || 'monospace'};
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
exports[`Container renders correctly 1`] = `
|
||||
<div
|
||||
class="sc-bdvvtL bKcxHw"
|
||||
class="sc-bdvvtL bHghii"
|
||||
>
|
||||
Text
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user