Comment out header wrapping for now

This commit is contained in:
Daniel Compton 2017-11-02 11:49:22 +13:00
parent 94b6d64f2b
commit 3af7398cdf
1 changed files with 7 additions and 3 deletions

View File

@ -26,15 +26,19 @@
(def customized-cljs-devtools-prefs
{; Override some cljs-devtools default styles.
; The goal here is to make default styles more flexible and wrap at the edge of our panel (we don't want horizontal
; scrolling). Technically we want to remove all 'white-space:no-wrap'.
; See https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/defaults.cljs
:header-style (reset-wrapping (:header-style default-cljs-devtools-prefs))
:expandable-style (reset-wrapping (:expandable-style default-cljs-devtools-prefs))
:item-style (reset-wrapping (:item-style default-cljs-devtools-prefs))
;; Commented out as this causes some other issues too.
;:header-style (reset-wrapping (:header-style default-cljs-devtools-prefs))
;:expandable-style (reset-wrapping (:expandable-style default-cljs-devtools-prefs))
;: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]
; Our JSON renderer does not have hierarchy depth limit,
; See https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/formatters/budgeting.cljs
:initial-hierarchy-depth-budget false})