浏览代码

more tweaks

Tienson Qin 1 年之前
父节点
当前提交
f3dc460f3a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/main/frontend/components/db_based/page.cljs
  2. 1 1
      src/main/frontend/components/page.css

+ 1 - 1
src/main/frontend/components/db_based/page.cljs

@@ -174,7 +174,7 @@
             (or show-info? has-tags? has-properties?))
             (or show-info? has-tags? has-properties?))
       [:div.page-info
       [:div.page-info
        {:class (util/classnames [{:is-collapsed collapsed?}])}
        {:class (util/classnames [{:is-collapsed collapsed?}])}
-       [:div.py-2 {:class (if (or @*hover? (not collapsed?))
+       [:div.py-1 {:class (if (or @*hover? (not collapsed?))
                             "border rounded"
                             "border rounded"
                             "border rounded border-transparent")}
                             "border rounded border-transparent")}
         [:div.info-title.cursor
         [:div.info-title.cursor

+ 1 - 1
src/main/frontend/components/page.css

@@ -391,7 +391,7 @@ html.is-native-ios {
 }
 }
 
 
 .page-info {
 .page-info {
-  @apply ml-[-10px] mb-[12px] border rounded-md;
+  @apply ml-[-10px] border rounded-md;
 
 
   &-inner {
   &-inner {
     @apply py-2;
     @apply py-2;