diff --git a/resources/day8/re_frame/trace/main.css b/resources/day8/re_frame/trace/main.css index c2923cf..58ed9dc 100644 --- a/resources/day8/re_frame/trace/main.css +++ b/resources/day8/re_frame/trace/main.css @@ -456,10 +456,10 @@ color: #8f8f8f; content: "}"; } -#--re-frame-trace-- .re-frame-trace--object { - display: block; -} #--re-frame-trace-- .re-frame-trace--object:before { color: #8f8f8f; content: "▶ "; } +#--re-frame-trace-- .re-frame-trace--object > span { + vertical-align: text-top; +} diff --git a/resources/day8/re_frame/trace/main.less b/resources/day8/re_frame/trace/main.less index 1460947..24f73c8 100644 --- a/resources/day8/re_frame/trace/main.less +++ b/resources/day8/re_frame/trace/main.less @@ -579,6 +579,10 @@ color: @text-color-muted; content: "▶ "; } - display: block; + // display: block; + + &>span { + vertical-align: text-top; + } } } diff --git a/src/day8/re_frame/trace/app_state.cljs b/src/day8/re_frame/trace/app_state.cljs index b7d772e..a63a25b 100644 --- a/src/day8/re_frame/trace/app_state.cljs +++ b/src/day8/re_frame/trace/app_state.cljs @@ -53,7 +53,7 @@ (cond (array? jsonml) (if (= "object" (get jsonml 0)) [:span.re-frame-trace--object - (jsonml->hiccup (cljs-devtools/header-api-call + (jsonml->hiccup (cljs-devtools/body-api-call (.-object (get jsonml 1)) (.-config (get jsonml 1))))] (mapv jsonml->hiccup jsonml))