From 24b97b72e7e3d930677c3fc1ae87bb2c6aa663d3 Mon Sep 17 00:00:00 2001 From: Michela Frecchiami Date: Mon, 23 Oct 2023 12:46:24 +0200 Subject: [PATCH] Icon alignment on sidebar menu --- .../spree/backend/components/_navigation_solidus_admin.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/app/assets/stylesheets/spree/backend/components/_navigation_solidus_admin.scss b/backend/app/assets/stylesheets/spree/backend/components/_navigation_solidus_admin.scss index afdd73771d7..ee2d567cbd3 100644 --- a/backend/app/assets/stylesheets/spree/backend/components/_navigation_solidus_admin.scss +++ b/backend/app/assets/stylesheets/spree/backend/components/_navigation_solidus_admin.scss @@ -129,7 +129,9 @@ $color-navbar-hover: $color-navbar !default; &::before, svg { - display: inline-block; + display: inline-flex; + align-items: center; + justify-content: center; width: 18px; height: 18px; padding: 0;