Tienson Qin 1 год назад
Родитель
Сommit
a2292284c1
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/main/frontend/components/db_based/page.cljs

+ 3 - 2
src/main/frontend/components/db_based/page.cljs

@@ -164,9 +164,10 @@
             [:div.flex.flex-row.items-center.gap-1
             [:div.flex.flex-row.items-center.gap-1
              [:a.flex.fade-link.ml-3 (ui/icon "info-circle")]
              [:a.flex.fade-link.ml-3 (ui/icon "info-circle")]
              (mode-switch types *mode)]
              (mode-switch types *mode)]
-            [:div.px-1.absolute.right-0.top-0
+            [:div.absolute.right-0.top-0
              (shui/button
              (shui/button
-              {:variant :ghost :size :sm}
+              {:variant :ghost :size :sm
+               :class "px-1 py-1 h-6 w-6"}
               (ui/icon "x"))]]])
               (ui/icon "x"))]]])
         (if collapsed?
         (if collapsed?
           (when (or (seq (:block/properties page))
           (when (or (seq (:block/properties page))