Browse Source

fix: empty name can't be clicked on tables

Tienson Qin 6 months ago
parent
commit
c0d5ce74a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/views.cljs

+ 1 - 1
src/main/frontend/components/views.cljs

@@ -193,7 +193,7 @@
   "Used on table view"
   [block {:keys [create-new-block property-ident width sidebar?]}]
   (let [inline-title (state/get-component :block/inline-title)]
-    [:div.relative.w-full.cursor-pointer.table-block-title
+    [:div.relative.w-full.cursor-pointer.table-block-title.w-full.h-full
      {:on-click (fn [e]
                   (p/let [block (or block (and (fn? create-new-block) (create-new-block)))]
                     (when block