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