MiniRepl: consume font settings
This commit is contained in:
parent
9971867e2f
commit
d2dffe3186
3 changed files with 8 additions and 0 deletions
|
|
@ -7,3 +7,7 @@
|
|||
border: 1px solid var(--lineHighlight);
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.cm-scroller {
|
||||
font-family: inherit !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,8 @@ export function MiniRepl({
|
|||
theme={themes[theme]}
|
||||
hideHeader={hideHeader}
|
||||
keybindings={keybindings}
|
||||
fontFamily={fontFamily}
|
||||
fontSize={fontSize}
|
||||
onPaint={
|
||||
claviature
|
||||
? (ctx, time, haps, drawTime) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue