diff --git a/less/dashboard.less b/less/dashboard.less index 8fb0f0b..a639211 100644 --- a/less/dashboard.less +++ b/less/dashboard.less @@ -45,6 +45,7 @@ @dashboard-menu-section-item-color-hover: @dashboard-primary-background; @dashboard-menu-section-item-color-active: @dashboard-primary-background; @dashboard-menu-section-icon-padding: 6px; +@dashboard-menu-section-icon-size: 18px + 2*@dashboard-menu-section-icon-padding; @dashboard-menu-section-icon-border-radius: @global-border-radius; @dashboard-menu-section-icon-color: @global-meta-color; @dashboard-menu-section-sublist-padding-left: @nav-sublist-padding-left + @dashboard-menu-section-icon-padding; @@ -80,8 +81,11 @@ @dashboard-elements: #page_content .message, bottom > div; .menu-icon { - display: block; - padding: @dashboard-menu-section-icon-padding; + display: flex; + justify-content: center; + align-items: center; + width: @dashboard-menu-section-icon-size; + height: @dashboard-menu-section-icon-size; border-radius: @dashboard-menu-section-icon-border-radius; background-color: transparent; color: @dashboard-menu-section-icon-color;