Style tweaks

This commit is contained in:
Tienson Qin
2023-08-07 13:02:04 +08:00
parent 023a47562d
commit d2efb81c52
3 changed files with 7 additions and 7 deletions

View File

@@ -275,13 +275,13 @@
[:div.flex.flex-1
(case type
(list :number :url)
[:div.h-8 (select block property select-opts)]
[:div.h-6 (select block property select-opts)]
:page
[:div.h-8 (select-page block property select-opts)]
[:div.h-6 (select-page block property select-opts)]
:block
[:div.h-8 (select-block block property select-opts)]
[:div.h-6 (select-block block property select-opts)]
(let [config {:editor-opts
{:on-key-down

View File

@@ -56,7 +56,7 @@
}
.cp__select-input {
padding: 0.25em;
padding: 0;
}
.ls-block, .editor-wrapper {
@@ -78,7 +78,7 @@
}
.block-main-container .ls-properties-area {
margin-top: 0.5em;
margin-top: 0.25em;
gap: 0;

View File

@@ -166,8 +166,8 @@
(not (contains? (:file/unlinked-dirs @state/state)
(config/get-repo-dir repo)))))
(prn :debug "Outliner transact:")
(frontend.util/pprint {:txs txs :opts opts})
;; (prn :debug "Outliner transact:")
;; (frontend.util/pprint {:txs txs :opts opts})
(try
(let [repo (get opts :repo (state/get-current-repo))