From 1e17c1967b92ec68f03d0497f3bec9d08f0ea444 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Thu, 4 Feb 2021 16:52:16 +0100 Subject: [PATCH] fix: toolbar unnecessarily eats too much width (#2924) --- src/components/MobileMenu.tsx | 4 ++-- src/css/styles.scss | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/MobileMenu.tsx b/src/components/MobileMenu.tsx index 16f1c5a5..fafdaa4c 100644 --- a/src/components/MobileMenu.tsx +++ b/src/components/MobileMenu.tsx @@ -46,7 +46,7 @@ export const MobileMenu = ({ renderCustomFooter, viewModeEnabled, }: MobileMenuProps) => { - const renderFixedSideContainer = () => { + const renderToolbar = () => { return (
@@ -136,7 +136,7 @@ export const MobileMenu = ({ }; return ( <> - {!viewModeEnabled && renderFixedSideContainer()} + {!viewModeEnabled && renderToolbar()}