fix(search): input base styles

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2023-05-18 13:00:37 +02:00
committed by Carlos Esteban Lopez
parent 2f660eb573
commit ba261f9dcd
7 changed files with 104 additions and 151 deletions
@@ -140,15 +140,16 @@ export default {
};
const useStyles = makeStyles(theme => ({
searchBar: {
display: 'flex',
searchBarInput: {
maxWidth: '60vw',
backgroundColor: theme.palette.background.paper,
boxShadow: theme.shadows[1],
padding: '8px 0',
borderRadius: '50px',
margin: 'auto',
backgroundColor: theme.palette.background.paper,
borderRadius: '50px',
boxShadow: theme.shadows[1],
},
searchBarOutline: {
borderStyle: 'none'
}
}));
const useLogoStyles = makeStyles(theme => ({
@@ -177,9 +178,9 @@ export const DefaultTemplate = () => {
className={container}
logo={<TemplateBackstageLogo classes={{ svg, path }} />}
/>
<Grid container item xs={12} alignItems="center" direction="row">
<Grid container item xs={12} justifyContent='center'>
<HomePageSearchBar
classes={{ root: classes.searchBar }}
InputProps={{ classes: { root: classes.searchBarInput, notchedOutline: classes.searchBarOutline }}}
placeholder="Search"
/>
</Grid>