Sfoglia il codice sorgente

fix(ui): alignment for the page icon

charlie 1 anno fa
parent
commit
514fad4811
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)))