mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 16:37:07 +02:00
fix(v2): set proper font for live editor (#2835)
This commit is contained in:
parent
f2fb2b8e0f
commit
e57294f70f
2 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,7 @@ function Playground({children, theme, transformCode, ...props}) {
|
|||
)}>
|
||||
Live Editor
|
||||
</div>
|
||||
<LiveEditor />
|
||||
<LiveEditor className={styles.playgroundEditor} />
|
||||
<div
|
||||
className={classnames(
|
||||
styles.playgroundHeader,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue