Skip to content

Commit

Permalink
Vertical resize on .cm-s-hashi.CodeMirror (#12906)
Browse files Browse the repository at this point in the history
* Vertical resize on .cm-s-hashi.CodeMirror

* changelog

* update other file

* undo other change

* fix
  • Loading branch information
djvs committed Oct 22, 2021
1 parent 67cce9a commit 0d5d2ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/12906.txt
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Added resize for JSON editor [[GH-12906](https://github.com/hashicorp/vault/pull/12906)]
```
1 change: 1 addition & 0 deletions ui/app/styles/components/codemirror.scss
Expand Up @@ -51,6 +51,7 @@ $gutter-grey: #2a2f36;
.cm-s-hashi {
&.CodeMirror {
background-color: $black !important;
resize: vertical;
color: #cfd2d1 !important;
border: none;
font-family: $family-monospace;
Expand Down

0 comments on commit 0d5d2ce

Please sign in to comment.