From f4cde6430dc332b491470a34b88a8de4d1e940cf Mon Sep 17 00:00:00 2001 From: Katherina Marcenko <45818654+KatvonRivia@users.noreply.github.com> Date: Mon, 10 Aug 2020 11:46:41 +0200 Subject: [PATCH] fix(menu): fix flickering when changing the language (#450) * fix(menu): fix flickering when changing the language * fix(menu): adjust size --- src/scripts/components/menu/menu.styl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/scripts/components/menu/menu.styl b/src/scripts/components/menu/menu.styl index 0ff4a536c..f5a095f8a 100644 --- a/src/scripts/components/menu/menu.styl +++ b/src/scripts/components/menu/menu.styl @@ -4,8 +4,10 @@ display: flex flex-direction: row flex-wrap: wrap + justify-content: center align-items: flex-start - overflow-y: scroll + overflow-y: auto + width: 60% height: 90% font-family: Arial, Helvetica, sans-serif @@ -14,7 +16,9 @@ flex-direction: column flex-wrap: wrap overflow-y: auto - padding: emCalc(10px) emCalc(40px) + padding: emCalc(10px) emCalc(32px) + min-width: emCalc(200px) + width: 25% color: $textWhite list-style: none