浏览代码

enhance: add CSS classes to enable custom styles

Devon Zuegel 4 年之前
父节点
当前提交
32e96dd94c
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/main/frontend/components/block.cljs

+ 5 - 5
src/main/frontend/components/block.cljs

@@ -1678,9 +1678,9 @@
                    state)}
   [state block typ ast]
   (let [show? (get state ::show?)]
-    [:div.flex.flex-col
-     [:div.text-sm.mt-1.flex.flex-row
-      [:div.opacity-50.font-medium
+    [:div.flex.flex-col.timestamp
+     [:div.text-sm.mb-1.flex.flex-row
+      [:div.opacity-50.font-medium.timestamp-label
        (str typ ": ")]
       [:a.opacity-80.hover:opacity-100
        {:on-click (fn []
@@ -2385,8 +2385,8 @@
         (when-not (and built-in? (empty? result))
           (ui/foldable
            [:div.custom-query-title
-            title
-            [:span.opacity-60.text-sm.ml-2
+            [:span.title-text title]
+            [:span.opacity-60.text-sm.ml-2.results-count
              (str (count transformed-query-result) " results")]]
            [:div
             (when current-block