Browse Source

Style tweaks

Tienson Qin 2 years ago
parent
commit
d2efb81c52

+ 3 - 3
src/main/frontend/components/property.cljs

@@ -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

+ 2 - 2
src/main/frontend/components/property.css

@@ -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;
 

+ 2 - 2
src/main/frontend/modules/outliner/datascript.cljs

@@ -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))