From 45fb51bca92b240e86d029d85007fb43b2f09dc8 Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Mon, 22 Mar 2021 23:24:39 +0100 Subject: [PATCH] Fix topbar responsiveness --- src/components/TopBar.tsx | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/src/components/TopBar.tsx b/src/components/TopBar.tsx index f3010bf..fda7f54 100644 --- a/src/components/TopBar.tsx +++ b/src/components/TopBar.tsx @@ -36,6 +36,8 @@ import { LinkOutlined, DownOutlined, SearchOutlined, + ToolOutlined, + FundOutlined, } from '@ant-design/icons'; import { useEffect, @@ -137,8 +139,8 @@ const TopBar = () => { return (
- - + + { buttonStyle="solid" onChange={(e) => history.push(e.target.value)} > - Tune - Log - Diagnose + + + + {sm && 'Tune'} + + + + + + {sm && 'Log'} + + + + + + {sm && 'Diagnose'} + + @@ -159,7 +176,7 @@ const TopBar = () => { P }> - {sm &&