Browse Source

fix: edit query button move around left and right side

fixes https://github.com/logseq/db-test/issues/308
Tienson Qin 4 months ago
parent
commit
a6bd175479
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/components/block.cljs

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

@@ -2402,10 +2402,10 @@
                          [:div.opacity-75 (if show-query?
                                             "Hide query"
                                             "Set query")]))]
-    [:div.w-full
+    [:div
      {:class (if query?
                "inline-flex"
-               "inline")
+               "w-full inline")
       :on-mouse-over #(set-hover? true)
       :on-mouse-out #(set-hover? false)}
      (cond