Skip to content

Commit cd85277

Browse files
committed
Disable replace functionality in CodeMirror search panel
1 parent d24d102 commit cd85277

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

apps/twig/src/renderer/features/code-editor/theme/editorTheme.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ function createEditorTheme(colors: typeof dark, isDark: boolean) {
9191
padding: "6px 8px",
9292
fontSize: "12px",
9393
gap: "4px",
94+
"& input[name=replace]": {
95+
display: "none",
96+
},
97+
"& button[name=replace]": {
98+
display: "none",
99+
},
100+
"& button[name=replaceAll]": {
101+
display: "none",
102+
},
94103
"& input": {
95104
background: colors.highlightBackground,
96105
color: colors.ivory,

0 commit comments

Comments
 (0)