Fixed a styling issue with Ace search box
This commit is contained in:
parent
8dc4752872
commit
94ca26e457
|
@ -1,11 +1,11 @@
|
|||
/* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */
|
||||
|
||||
div.jsoneditor input {
|
||||
div.jsoneditor .jsoneditor-search input {
|
||||
height: auto;
|
||||
border: inherit;
|
||||
}
|
||||
|
||||
div.jsoneditor input:focus {
|
||||
div.jsoneditor .jsoneditor-search input:focus {
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ textmode.create = function (container, options) {
|
|||
|
||||
// determine theme
|
||||
this.theme = options.theme || DEFAULT_THEME;
|
||||
if (this.theme === DEFAULT_THEME) {
|
||||
if (this.theme === DEFAULT_THEME && window.ace) {
|
||||
require('./ace/theme-jsoneditor');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue