1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Better monaco editor view for the light theme

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-12-26 13:09:23 +03:00
parent 879402edbc
commit 3dfb6b9826

View File

@ -104,7 +104,12 @@ class NonInjectedConfigMapDetails extends React.Component<ConfigMapDetailsProps
<div className="name">{name}</div>
<MonacoEditor
id={`config-map-data-${name}`}
style={{ resize: "vertical", overflow: "hidden" }}
style={{
resize: "vertical",
overflow: "hidden",
border: "1px solid var(--borderFaintColor)",
borderRadius: "4px",
}}
value={value || ""}
onChange={v => this.data.set(name, v)}
setInitialHeight