Hi, I use AdminLTE and have integrated the JSONEditor into my site.
Every time I switch to text mode, the font and size of the .jse-menu changes.
I had a look and the CSS class .jse-text-mode has no font change (font-family: var(--jse-font-family-mono); or font-size: var(--jse-font-size-mono);). This automatically uses the font of the .jse-main class.
Hi, I use AdminLTE and have integrated the JSONEditor into my site. Every time I switch to text mode, the font and size of the
.jse-menu
changes.I had a look and the CSS class
.jse-text-mode
has no font change (font-family: var(--jse-font-family-mono);
orfont-size: var(--jse-font-size-mono);
). This automatically uses the font of the.jse-main
class.No idea why it works otherwise.
Here is sample code...
https://codepen.io/Th3R3alDuk3/pen/GRzWJZd