mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-10 19:56:54 +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() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<SliderWrapper>
|
<SliderWrapper className="slider">
|
||||||
<SliderMonitor
|
<SliderMonitor
|
||||||
{...this.props.liftedState}
|
{...this.props.liftedState}
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
|
|
|
@ -25,7 +25,8 @@ export const MainContainerWrapper = styled.div`
|
||||||
|
|
||||||
.CodeMirror div,
|
.CodeMirror div,
|
||||||
pre,
|
pre,
|
||||||
.monitor-LogMonitor * {
|
.monitor div,
|
||||||
|
.slider div {
|
||||||
font-family: ${(props) =>
|
font-family: ${(props) =>
|
||||||
props.theme.codeFontFamily || props.theme.fontFamily || 'monospace'};
|
props.theme.codeFontFamily || props.theme.fontFamily || 'monospace'};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`Container renders correctly 1`] = `
|
exports[`Container renders correctly 1`] = `
|
||||||
<div
|
<div
|
||||||
class="sc-bdvvtL bKcxHw"
|
class="sc-bdvvtL bHghii"
|
||||||
>
|
>
|
||||||
Text
|
Text
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user