From a71e0d3f004bb0900606556cadfb5bf8baa37915 Mon Sep 17 00:00:00 2001 From: djvs <2954343+djvs@users.noreply.github.com> Date: Fri, 22 Oct 2021 16:58:04 -0400 Subject: [PATCH] Vertical resize on .cm-s-hashi.CodeMirror (#12906) * Vertical resize on .cm-s-hashi.CodeMirror * changelog * update other file * undo other change * fix --- changelog/12906.txt | 3 +++ ui/app/styles/components/codemirror.scss | 1 + 2 files changed, 4 insertions(+) create mode 100644 changelog/12906.txt diff --git a/changelog/12906.txt b/changelog/12906.txt new file mode 100644 index 0000000000000..69e96ad3c68fd --- /dev/null +++ b/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)] +``` diff --git a/ui/app/styles/components/codemirror.scss b/ui/app/styles/components/codemirror.scss index aaa6b232b696c..023bed8f78684 100644 --- a/ui/app/styles/components/codemirror.scss +++ b/ui/app/styles/components/codemirror.scss @@ -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;