diff --git a/assets/scripts.js b/assets/scripts.js index aba1333..97c32b6 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -2,7 +2,11 @@ $(function() { $('.js-tab .item').tab() $('.js-json').each(function(node) { - var json = $(this).text() - $(this).JSONView(json) + try { + var json = $(this).text() + $(this).JSONView(json).JSONView('collapse', 1) + } catch(e) { + console.error(e) + } }) }) diff --git a/assets/styles.css b/assets/styles.css index c51eaed..e0abfc1 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -2,6 +2,10 @@ body>.ui.grid>.row { padding-bottom: 0; } +h1.ui.dividing.header { + margin-top: 20px; +} + .menu-column { background: #1B1C1D; } diff --git a/components/menu/menu.tag b/components/menu/menu.tag index e842058..5f465c0 100644 --- a/components/menu/menu.tag +++ b/components/menu/menu.tag @@ -18,9 +18,7 @@