Skip to content

Commit

Permalink
Merge branch 'unstructuredstudio:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
brrkrmn authored Oct 18, 2023
2 parents 2e5a19d + 690d6d1 commit 5ab51fc
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ const styles = theme => ({
fontWeight: 'bold',
textAlign: 'center',
},
projectGridStyle: {
marginBottom: '2em',
},
cardStyle: {
display: 'flex',
flexDirection: 'column',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function Step1({ formik, ...props }) {
<SelectFromPills
name="category"
label="What category does your activity belong too? "
helperText="Select three categories that best describe your project. Select none if you are unsure about your category."
helperText="Select three categories that best describe your project."
data={categories}
onChange={_.debounce(data => formik.setFieldValue('category', data), 200)}
selectedItems={formik.values.category}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function Step3({ formik, handleBlur, ...props }) {
What category does your project belong to? <span className={commonClasses.colorRed}>*</span>
</label>
<Typography style={{ marginBottom: 10 }}>
Select any of the categories that best describe your project. Select none if you are unsure about your category.
Select any of the categories that best describe your project.
</Typography>

<Grid container spacing={3} className={classes.pillContainer}>
Expand Down
39 changes: 21 additions & 18 deletions zubhub_frontend/zubhub/src/views/search_results/SearchResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,25 +141,28 @@ function SearchResults(props) {
handleSetState,
);
} else {
return results.map(project => (
<Grid
item
xs={12}
sm={6}
md={4}
className={classes.projectGridStyle}
align="center"
>
<Project
project={project}
key={project.id}
updateProjects={res =>
handleSetState(updateProjects(res, state, props, toast))
}
{...props}
/>
return (
<Grid container spacing={3}>
{results.map(project => (
<Grid
item
xs={12}
sm={6}
md={4}
align="center"
>
<Project
project={project}
key={project.id}
updateProjects={res =>
handleSetState(updateProjects(res, state, props, toast))
}
{...props}
/>
</Grid>
))}
</Grid>
));
)
}
};

Expand Down

0 comments on commit 5ab51fc

Please sign in to comment.