From 1de6da0f8824ac144528b36ceef401d29e90e031 Mon Sep 17 00:00:00 2001 From: vantuz-subhuman Date: Wed, 12 Jan 2022 14:46:20 +0300 Subject: [PATCH] Fixing layout skews --- .../yoroi-extension/app/components/layout/TopBarLayout.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/yoroi-extension/app/components/layout/TopBarLayout.js b/packages/yoroi-extension/app/components/layout/TopBarLayout.js index bf159c1207..0f0b4fecb3 100644 --- a/packages/yoroi-extension/app/components/layout/TopBarLayout.js +++ b/packages/yoroi-extension/app/components/layout/TopBarLayout.js @@ -44,6 +44,7 @@ function TopBarLayout({ sx={{ position: 'relative', overflow: 'auto', + height: '100%', '&::-webkit-scrollbar-button': { height: '7px', display: 'block', @@ -161,8 +162,8 @@ function TopBarLayout({ width: '100%', height: '100%', overflow: 'hidden', - display: 'grid', - gridTemplateRows: 'auto 1fr', + display: 'flex', + flexDirection: 'column', position: 'relative', background: showInContainer === true && 'var(--yoroi-palette-gray-50)', }}