UI tweaks

pull/645/head
Tienson Qin 2020-08-22 08:55:19 +08:00
parent a4d73ef611
commit d033528f67
2 changed files with 2 additions and 4 deletions

View File

@ -1482,10 +1482,8 @@
{:style {:margin-left (cond
sidebar?
0
ref?
-18
:else
-24)}}
-18)}}
(build-blocks blocks config)]))
;; headers to hiccup

View File

@ -98,7 +98,7 @@
(when (and today? (not sidebar?))
(let [queries (state/sub [:config repo :default-queries :journals])]
(when (seq queries)
[:div#today-queries.mt-10.ml-2
[:div#today-queries.mt-10
(for [{:keys [title] :as query} queries]
(rum/with-key
(hiccup/custom-query {:start-level 2} query)