Skip to content

Commit

Permalink
fix(v2): set proper font for live editor (#2835)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored May 29, 2020
1 parent f2fb2b8 commit e57294f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Playground({children, theme, transformCode, ...props}) {
)}>
Live Editor
</div>
<LiveEditor />
<LiveEditor className={styles.playgroundEditor} />
<div
className={classnames(
styles.playgroundHeader,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
color: var(--ifm-color-content);
}

.playgroundEditor {
font-family: var(--ifm-font-family-monospace) !important;
}

.playgroundPreview {
border: 1px solid var(--ifm-color-emphasis-200);
border-bottom-left-radius: var(--ifm-global-radius);
Expand Down

0 comments on commit e57294f

Please sign in to comment.