From 1c8ea64c2a0b1aa3e6b415d7f34c6cb5168e0f85 Mon Sep 17 00:00:00 2001 From: jos Date: Tue, 3 Jan 2017 20:43:10 +0100 Subject: [PATCH] Fixed #54: CSS more robust against global settings of div position --- HISTORY.md | 2 ++ src/css/reset.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index c0fd251..72f9174 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -7,6 +7,8 @@ https://github.com/josdejong/jsoneditor - Fixed embedded version of jsoneditor ace theme not being loaded in 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. diff --git a/src/css/reset.css b/src/css/reset.css index 99c12aa..ecc9786 100644 --- a/src/css/reset.css +++ b/src/css/reset.css @@ -1,5 +1,9 @@ /* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */ +div.jsoneditor div { + position: static; +} + div.jsoneditor .jsoneditor-search input { height: auto; border: inherit;