Просмотр исходного кода

fix(ui): alignment for the page icon

charlie 1 год назад
Родитель
Сommit
514fad4811
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/components/icon.cljs

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

@@ -45,7 +45,7 @@
         node-icon (get node-entity (pu/get-pid :logseq.property/icon))]
     (or
      (when-not (string/blank? node-icon)
-       [:span (merge {:style {:color (or (:color node-icon) "inherit")}}
+       [:span.flex (merge {:style {:color (or (:color node-icon) "inherit")}}
                      (select-keys opts [:class]))
         (icon node-icon opts)])
      default-icon)))