From 503ba8a1d08a466613941d1b78d6cf7447f0f389 Mon Sep 17 00:00:00 2001 From: Swonkie <3949813+Swonkie@users.noreply.github.com> Date: Tue, 13 Jan 2026 13:52:13 +0100 Subject: [PATCH] [bugfix] #1874 Add Bootstrap form style for CodeMirror editor Fix a bug in the Search/Replace form of the CodeMirror editor, caused by an unwanted style which Bootstrap applied. The bug makes it difficult to select some elements of the Search/Replace dialog. Related issue: https://github.com/gchq/CyberChef/issues/1874 --- src/web/stylesheets/utils/_overrides.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/web/stylesheets/utils/_overrides.css b/src/web/stylesheets/utils/_overrides.css index a2f8b029..be2e8714 100755 --- a/src/web/stylesheets/utils/_overrides.css +++ b/src/web/stylesheets/utils/_overrides.css @@ -249,6 +249,13 @@ optgroup { } +/* Bootstrap form inside CodeMirror editor */ + +.cm-panel > .bmd-form-group { + padding-top: 0; +} + + /* CodeMirror */ .ΝΌ2 .cm-specialChar,