瀏覽代碼

fix lint warning

leizhe 3 年之前
父節點
當前提交
c06ba6e2e6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/frontend/components/sidebar.cljs

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

@@ -330,7 +330,7 @@
            :else
            [:div {:class (if global-graph-pages? "" (util/hiccup->class "max-w-7xl.mx-auto.pb-24"))
                   :style {:margin-bottom (if global-graph-pages? 0 120)
-                          :padding-bottom (if (mobile-util/native-iphone?) "7rem")}}
+                          :padding-bottom (when (mobile-util/native-iphone?) "7rem")}}
             main-content])]]])))
 
 (rum/defc footer