From c34208c3df7a59e0fb90c9b8ca7347cc891316e6 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sun, 30 Apr 2023 20:25:04 +0200 Subject: [PATCH] fix logo on mobile devices --- interface/src/components/layout/LayoutDrawer.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/components/layout/LayoutDrawer.tsx b/interface/src/components/layout/LayoutDrawer.tsx index 60b8649a6..b63955c54 100644 --- a/interface/src/components/layout/LayoutDrawer.tsx +++ b/interface/src/components/layout/LayoutDrawer.tsx @@ -6,6 +6,10 @@ import type { FC } from 'react'; import { PROJECT_NAME } from 'api/env'; const LayoutDrawerLogo = styled('img')(({ theme }) => ({ + [theme.breakpoints.down('sm')]: { + height: 24, + marginRight: theme.spacing(2) + }, [theme.breakpoints.up('sm')]: { height: 38, marginRight: theme.spacing(2)