Default monitors to a monospace font (#1051)

This commit is contained in:
Nathan Bierema 2022-01-24 14:18:59 -05:00 committed by GitHub
parent c379a62081
commit c8f36e9c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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'};
}

View File

@ -2,7 +2,7 @@
exports[`Container renders correctly 1`] = `
<div
class="sc-bdvvtL bKcxHw"
class="sc-bdvvtL bHghii"
>
Text
</div>