Fixed #303: editor contents collapsed when the parent div of the JSONEditor has no height set

This commit is contained in:
jos 2016-06-06 21:25:45 +02:00
parent 410dffbce7
commit c2c7dd5adf
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,8 @@ https://github.com/josdejong/jsoneditor
## not yet released, version 5.5.6 ## not yet released, version 5.5.6
- Fixed #303: editor contents collapsed when the parent div of the JSONEditor
has no height set.
- Improved example 04_load_and_save.html. Thanks @RDCH106. - Improved example 04_load_and_save.html. Thanks @RDCH106.

View File

@ -1,4 +1,8 @@
div.jsoneditor {
}
div.jsoneditor-field, div.jsoneditor-field,
div.jsoneditor-value, div.jsoneditor-value,
div.jsoneditor-readonly { div.jsoneditor-readonly {
@ -206,6 +210,11 @@ div.jsoneditor-outer {
box-sizing: border-box; box-sizing: border-box;
} }
textarea.jsoneditor-text,
.ace-jsoneditor {
min-height: 150px;
}
div.jsoneditor-tree { div.jsoneditor-tree {
width: 100%; width: 100%;
height: 100%; height: 100%;