chore: cleanup
This commit is contained in:
@@ -288,7 +288,7 @@ pre.ace_editor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"].checkbox {
|
||||||
@apply hidden;
|
@apply hidden;
|
||||||
|
|
||||||
&,
|
&,
|
||||||
|
|||||||
@@ -194,7 +194,6 @@ export function useCodemirror(
|
|||||||
}
|
}
|
||||||
if (update.docChanged) {
|
if (update.docChanged) {
|
||||||
// Expensive on big files ?
|
// Expensive on big files ?
|
||||||
console.log("doc change")
|
|
||||||
cachedValue.value = update.state.doc
|
cachedValue.value = update.state.doc
|
||||||
.toJSON()
|
.toJSON()
|
||||||
.join(update.state.lineBreak)
|
.join(update.state.lineBreak)
|
||||||
|
|||||||
@@ -49,6 +49,17 @@ export const baseTheme = EditorView.theme({
|
|||||||
".cm-panels.cm-panels-bottom": {
|
".cm-panels.cm-panels-bottom": {
|
||||||
borderTop: "1px solid var(--divider-light-color)",
|
borderTop: "1px solid var(--divider-light-color)",
|
||||||
},
|
},
|
||||||
|
".cm-search": {
|
||||||
|
display: "flex",
|
||||||
|
alignItems: "center",
|
||||||
|
flexWrap: "nowrap",
|
||||||
|
flexShrink: 0,
|
||||||
|
overflow: "auto",
|
||||||
|
},
|
||||||
|
".cm-search label": {
|
||||||
|
display: "inline-flex",
|
||||||
|
alignItems: "center",
|
||||||
|
},
|
||||||
".cm-textfield": {
|
".cm-textfield": {
|
||||||
backgroundColor: "var(--primary-dark-color)",
|
backgroundColor: "var(--primary-dark-color)",
|
||||||
color: "var(--secondary-light-color)",
|
color: "var(--secondary-light-color)",
|
||||||
@@ -70,7 +81,7 @@ export const baseTheme = EditorView.theme({
|
|||||||
".cm-completionLabel": {
|
".cm-completionLabel": {
|
||||||
color: "var(--secondary-color)",
|
color: "var(--secondary-color)",
|
||||||
},
|
},
|
||||||
".cm-tooltip-autocomplete ul": {
|
".cm-tooltip.cm-tooltip-autocomplete > ul": {
|
||||||
fontFamily: "var(--font-mono)",
|
fontFamily: "var(--font-mono)",
|
||||||
},
|
},
|
||||||
".cm-tooltip-autocomplete ul li[aria-selected]": {
|
".cm-tooltip-autocomplete ul li[aria-selected]": {
|
||||||
|
|||||||
Reference in New Issue
Block a user