Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

- `<MultiSelect />`
- border of the BlueprintJS `Tag` elements were fixed
- `<CodeEditor />`
- `readOnly` appearance uses same borders like read-only text fields and it does not display a blinking cursor

### Changed

Expand Down
12 changes: 12 additions & 0 deletions src/extensions/codemirror/_codemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ $eccgui-size-codeeditor-toolbar-height: $button-height !default;
padding: 0;
}

&:has(.cm-content[aria-readonly="true"]) {
box-shadow: inset 0 0 0 1px $pt-divider-black;

&:focus {
box-shadow: input-transition-shadow($input-shadow-color-focus, true), $input-box-shadow-focus;
}

.cm-cursor {
display: none;
}
}

&[class*="#{$eccgui}-intent--"] {
animation-duration: 1s;
animation-delay: 0.5s;
Expand Down
Loading