From 75a726ebbec3881464c2360310a2f01ac2098d51 Mon Sep 17 00:00:00 2001 From: Gala Date: Wed, 10 Aug 2022 16:34:30 +0200 Subject: [PATCH] some styles --- explorer/src/components/MobileNav.tsx | 13 +++++-------- explorer/src/components/Nav.tsx | 2 +- explorer/src/components/Switch.tsx | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/explorer/src/components/MobileNav.tsx b/explorer/src/components/MobileNav.tsx index 2a808e3c91..e3515dff7f 100644 --- a/explorer/src/components/MobileNav.tsx +++ b/explorer/src/components/MobileNav.tsx @@ -83,7 +83,7 @@ export const MobileNav: React.FC<{ children: React.ReactNode }> = ({ children }: }} > - + = ({ children }: color: theme.palette.nym.networkExplorer.nav.text, fontSize: '18px', fontWeight: 600, - ml: 2, - display: 'flex', - flexDirection: 'column', }} > - + {explorerName} - + - diff --git a/explorer/src/components/Nav.tsx b/explorer/src/components/Nav.tsx index d4aa202071..93ea445a33 100644 --- a/explorer/src/components/Nav.tsx +++ b/explorer/src/components/Nav.tsx @@ -317,7 +317,7 @@ export const Nav: React.FC = ({ children }) => { variant="outlined" color="inherit" href={switchNetworkLink} - sx={{ textTransform: 'none', width: 150, ml: 4 }} + sx={{ borderRadius: 2, textTransform: 'none', width: 150, ml: 4, fontSize: 14, fontWeight: 600 }} > {switchNetworkText} diff --git a/explorer/src/components/Switch.tsx b/explorer/src/components/Switch.tsx index 835100a1db..25e76ccdfa 100644 --- a/explorer/src/components/Switch.tsx +++ b/explorer/src/components/Switch.tsx @@ -54,7 +54,7 @@ export const DarkLightSwitch = styled(Switch)(({ theme }) => ({ export const DarkLightSwitchMobile: React.FC = () => { const { toggleMode } = useMainContext(); return ( - );