Fixed #303: editor contents collapsed when the parent div of the JSONEditor has no height set
This commit is contained in:
parent
410dffbce7
commit
c2c7dd5adf
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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%;
|
||||||
|
|
Loading…
Reference in New Issue