Browse Source

enhance: css tweaks

Tienson Qin 1 năm trước cách đây
mục cha
commit
a2292284c1
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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
              [:a.flex.fade-link.ml-3 (ui/icon "info-circle")]
              (mode-switch types *mode)]
-            [:div.px-1.absolute.right-0.top-0
+            [:div.absolute.right-0.top-0
              (shui/button
-              {:variant :ghost :size :sm}
+              {:variant :ghost :size :sm
+               :class "px-1 py-1 h-6 w-6"}
               (ui/icon "x"))]]])
         (if collapsed?
           (when (or (seq (:block/properties page))