From 18331689e6e4c0626b4a1dc732d021ee11363d76 Mon Sep 17 00:00:00 2001 From: Daniel Compton Date: Thu, 9 Nov 2017 15:17:52 +1300 Subject: [PATCH] Add bottom margin to app-db data --- .idea/codeStyleSettings.xml | 1 + src/day8/re_frame/trace/panels/app_db.cljs | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.idea/codeStyleSettings.xml b/.idea/codeStyleSettings.xml index a09b089..618f166 100644 --- a/.idea/codeStyleSettings.xml +++ b/.idea/codeStyleSettings.xml @@ -7,6 +7,7 @@ :cljs.test/are 2 :clojure.test/are :only-indent :cursive.formatting/align-binding-forms true + :day8.re-frame.trace.utils.macros/with-cljs-devtools-prefs 1 } diff --git a/src/day8/re_frame/trace/panels/app_db.cljs b/src/day8/re_frame/trace/panels/app_db.cljs index dff3c1d..4c29f30 100644 --- a/src/day8/re_frame/trace/panels/app_db.cljs +++ b/src/day8/re_frame/trace/panels/app_db.cljs @@ -37,8 +37,8 @@ ;:item-style (reset-wrapping (:item-style default-cljs-devtools-prefs)) ; Hide the index spans on the left hand of collections. Shows how many elements in a collection. - :none-style "display: none" - :index-tag [:span :none-style] + :none-style "display: none" + :index-tag [:span :none-style] ; Our JSON renderer does not have hierarchy depth limit, ; See https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/formatters/budgeting.cljs @@ -148,4 +148,5 @@ [:span.subtree-button-string (str path)]]]]]) @subtree-paths))] - [subtree @data [:span.label "app-db"]]]]))) + [:div {:style {:margin-bottom "20px"}} + [subtree @data [:span.label "app-db"]]]]])))