diff --git a/src/main/frontend/components/container.css b/src/main/frontend/components/container.css index afb3aa2169b..884654b79d5 100644 --- a/src/main/frontend/components/container.css +++ b/src/main/frontend/components/container.css @@ -130,7 +130,6 @@ width: 20px; flex-shrink: 0; - height: 18px; line-height: 1em; } diff --git a/src/main/frontend/components/icon.cljs b/src/main/frontend/components/icon.cljs index aafc019bc39..1b3e8a44855 100644 --- a/src/main/frontend/components/icon.cljs +++ b/src/main/frontend/components/icon.cljs @@ -63,9 +63,9 @@ (let [opts' (merge {:size 14} opts) node-icon (get-node-icon node-entity)] (when-not (or (string/blank? node-icon) (and (contains? #{"letter-n" "page"} node-icon) (:not-text-or-page? opts))) - [:span.icon-cp-container + [:div.icon-cp-container.flex.items-center (merge {:style {:color (or (:color node-icon) "inherit")}} - (select-keys opts [:class])) + (select-keys opts [:class])) (icon node-icon opts')]))) (defn- search-emojis