tweak iOS fallback editor style
This commit is contained in:
parent
4ec135ac8f
commit
ce7ebdd921
2 changed files with 10 additions and 3 deletions
|
|
@ -81,10 +81,18 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.monaco-editor,
|
||||||
.monaco-editor {
|
.openscad-editor {
|
||||||
background-color: rgba(255,255,255,0.5) !important;
|
background-color: rgba(255,255,255,0.5) !important;
|
||||||
}
|
}
|
||||||
|
textarea.openscad-editor {
|
||||||
|
font-family: "Droid Sans Mono", "monospace", monospace;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 16px;
|
||||||
|
font-feature-settings: "liga" 0, "calt" 0;
|
||||||
|
line-height: 22px;
|
||||||
|
letter-spacing: 0px;
|
||||||
|
}
|
||||||
.overflow-guard,
|
.overflow-guard,
|
||||||
.monaco-scrollable-element,
|
.monaco-scrollable-element,
|
||||||
.monaco-editor-background {
|
.monaco-editor-background {
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,6 @@ export default function EditorPanel({className, style}: {className?: string, sty
|
||||||
{!isMonacoSupported && (
|
{!isMonacoSupported && (
|
||||||
<InputTextarea
|
<InputTextarea
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: 'transparent',
|
|
||||||
}}
|
}}
|
||||||
className="openscad-editor absolute-fill"
|
className="openscad-editor absolute-fill"
|
||||||
value={state.params.source}
|
value={state.params.source}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue