Showing
1 changed file
with
6 additions
and
1 deletions
... | ... | @@ -108,7 +108,7 @@ |
108 | 108 | </script> |
109 | 109 | |
110 | 110 | <template> |
111 | - <div class="p-2 bg-gray-200" :style="{ height: `${height - 16}px` }"> | |
111 | + <div class="p-2 bg-gray-200" :style="{ height: `${height}px` }"> | |
112 | 112 | <div ref="jsonEditorElRef" class="jsoneditor"></div> |
113 | 113 | </div> |
114 | 114 | </template> |
... | ... | @@ -119,6 +119,11 @@ |
119 | 119 | |
120 | 120 | :deep(.jsoneditor) { |
121 | 121 | border: none !important; |
122 | + | |
123 | + .ace-jsoneditor, | |
124 | + textarea.jsoneditor-text { | |
125 | + min-height: auto; | |
126 | + } | |
122 | 127 | } |
123 | 128 | } |
124 | 129 | </style> | ... | ... |