Fixed #54: CSS more robust against global settings of div position

This commit is contained in:
jos 2017-01-03 20:43:10 +01:00
parent 94ca26e457
commit 1c8ea64c2a
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,8 @@ https://github.com/josdejong/jsoneditor
- Fixed embedded version of jsoneditor ace theme not being loaded in - Fixed embedded version of jsoneditor ace theme not being loaded in
minimalist version (see #55). minimalist version (see #55).
- Fixed a styling issue in the SearchBox of Ace editor (mode `code`).
- Fixed #54: CSS more robust against global settings of div position.
- Added docs and example on how to use a custom version of Ace editor. - Added docs and example on how to use a custom version of Ace editor.

View File

@ -1,5 +1,9 @@
/* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */ /* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */
div.jsoneditor div {
position: static;
}
div.jsoneditor .jsoneditor-search input { div.jsoneditor .jsoneditor-search input {
height: auto; height: auto;
border: inherit; border: inherit;