tweak iOS fallback editor style

This commit is contained in:
ochafik 2024-07-08 02:54:13 +01:00
commit ce7ebdd921
2 changed files with 10 additions and 3 deletions

View file

@ -81,10 +81,18 @@
bottom: 0;
}
.monaco-editor {
.monaco-editor,
.openscad-editor {
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,
.monaco-scrollable-element,
.monaco-editor-background {

View file

@ -203,7 +203,6 @@ export default function EditorPanel({className, style}: {className?: string, sty
{!isMonacoSupported && (
<InputTextarea
style={{
backgroundColor: 'transparent',
}}
className="openscad-editor absolute-fill"
value={state.params.source}