From 76773c58d7fe8fed97fafd23763e3b2ff7aa3cbd 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 313a9ae8ba..16846c4b42 100644 --- a/explorer/src/components/MobileNav.tsx +++ b/explorer/src/components/MobileNav.tsx @@ -78,7 +78,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 4b13edda46..5203e1df62 100644 --- a/explorer/src/components/Nav.tsx +++ b/explorer/src/components/Nav.tsx @@ -312,7 +312,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 ( - );