From b4f457cd905097bdae854517a1e6a5b1b11f85bd Mon Sep 17 00:00:00 2001 From: sibiraj-s Date: Wed, 9 Dec 2020 10:01:14 +0530 Subject: [PATCH] fix: prevent menu icons shrink on resize --- src/lib/modules/menu/menu.component.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/modules/menu/menu.component.scss b/src/lib/modules/menu/menu.component.scss index 63cc6a5b..20ff5e55 100644 --- a/src/lib/modules/menu/menu.component.scss +++ b/src/lib/modules/menu/menu.component.scss @@ -37,6 +37,7 @@ $menubar-text-padding: 0 $menu-item-spacing; align-items: center; justify-content: center; position: relative; + flex-shrink: 0; &:hover { background-color: $menu-item-hover-bg-color; @@ -82,6 +83,7 @@ $menubar-text-padding: 0 $menu-item-spacing; position: relative; display: flex; align-items: center; + flex-shrink: 0; &:hover { background-color: $dropdown-menu-hover-bg-color;