diff --git a/client/src/components/marginals/DesktopNavbar.js b/client/src/components/marginals/DesktopNavbar.js index 361f9857..a49711f5 100644 --- a/client/src/components/marginals/DesktopNavbar.js +++ b/client/src/components/marginals/DesktopNavbar.js @@ -234,7 +234,9 @@ const useStyles = makeStyles((theme) => ({ searchField: { width: '100%', color: theme.palette.primary.blue50, - paddingBottom: '0px', + '& input': { + paddingLeft: '20px', + }, }, trendingArticles: { position: 'absoulte', @@ -254,18 +256,18 @@ const useStyles = makeStyles((theme) => ({ position: 'absolute', background: '#FEFEFF', width: '100%', - padding: '20px', zIndex: '20022', borderRadius: '0px 0px 5px 5px', border: '1px #ECEDEC', borderStyle: 'none solid solid', boxShadow: '0px 0px 5px grey', display: (_) => (_.isSearchActive ? 'block' : 'none'), + paddingLeft: '20px', }, trendingList: { fontFamily: theme.typography.fontFamily, alignItems: 'center', - paddingBottom: '8px', + paddingBottom: '12px', paddingTop: '8px', cursor: 'pointer', }, diff --git a/client/src/components/marginals/MobileNavbar.js b/client/src/components/marginals/MobileNavbar.js index 2e87d386..d64cb83f 100644 --- a/client/src/components/marginals/MobileNavbar.js +++ b/client/src/components/marginals/MobileNavbar.js @@ -278,7 +278,9 @@ const useStyles = makeStyles((theme) => ({ searchField: { width: '100%', color: theme.palette.primary.blue50, - paddingBottom: '0px', + '& input': { + paddingLeft: '20px', + }, }, trendingArticles: { position: 'absoulte', @@ -301,18 +303,18 @@ const useStyles = makeStyles((theme) => ({ position: 'absolute', background: '#FEFEFF', width: '100%', - padding: '20px', zIndex: '20022', borderRadius: '0px 0px 5px 5px', border: '1px #ECEDEC', borderStyle: 'none solid solid', boxShadow: '0px 0px 5px grey', display: (_) => (_.isSearchActive ? 'block' : 'none'), + paddingLeft: '20px', }, trendingList: { fontFamily: theme.typography.fontFamily, alignItems: 'center', - paddingBottom: '8px', + paddingBottom: '12px', paddingTop: '8px', cursor: 'pointer', },