This is an automated email from the ASF dual-hosted git repository.
mcgilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new fac98aed04 NIFI-14191 rmove double border for codemirror editors with
foldGutter configured (#10252)
fac98aed04 is described below
commit fac98aed04e565dc699a50a1520222442b3685a5
Author: Scott Aslan <[email protected]>
AuthorDate: Tue Sep 2 12:48:46 2025 -0400
NIFI-14191 rmove double border for codemirror editors with foldGutter
configured (#10252)
---
.../frontend/libs/shared/src/components/codemirror/themes/baseTheme.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/nifi-frontend/src/main/frontend/libs/shared/src/components/codemirror/themes/baseTheme.ts
b/nifi-frontend/src/main/frontend/libs/shared/src/components/codemirror/themes/baseTheme.ts
index 5e780c8263..e9c2576c8f 100644
---
a/nifi-frontend/src/main/frontend/libs/shared/src/components/codemirror/themes/baseTheme.ts
+++
b/nifi-frontend/src/main/frontend/libs/shared/src/components/codemirror/themes/baseTheme.ts
@@ -90,11 +90,12 @@ export const baseTheme: { [selector: string]: StyleSpec } =
{
// Don't set the gutter background to 'transparent', because then long
lines will appear behind
// the gutter when scrolling horizontally (if line wrapping is off).
backgroundColor: 'var(--mat-sys-surface-container-high)',
+ borderRight: '1px solid',
cursor: 'default',
userSelect: 'none'
},
'.cm-foldGutter': {
- borderRight: '1px solid',
+ borderRight: '0',
paddingRight: '4px'
},
'.cm-foldGutter .cm-gutterElement': {