Skip to content

Commit

Permalink
fix: fixes search results bug in mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
diogofonte committed Feb 28, 2023
1 parent 3e8171d commit 594d135
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/components/HomePage/SearchArea/searchAreaStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default makeStyles((theme) => ({
},
advancedSearchOuterWrapper: {
gridColumn: "1 / span 2",

},
advancedSearchContainer: {
display: "grid",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const OffersList = ({
toggleShowSearchFilters, offers, moreOffersLoading, loadMoreOffers, searchQueryToken,
}) => (
<Grid container className={classes.fullHeight}>
<Grid xs={12} item className={classes.offerItemsContainer}>
<Grid xs={12} item className={classes.heightOffersList}>
{noOffers ?
<div id="no_offers_container" className={classes.noOffersColumn}>
<WorkOff className={classes.errorLoadingOffersIcon} />
Expand Down Expand Up @@ -45,6 +45,7 @@ OffersList.propTypes = {
classes: PropTypes.shape({
reviseCriteriaErrorMessage: PropTypes.string.isRequired,
fullHeight: PropTypes.string.isRequired,
heightOffersList: PropTypes.string.isRequired,
errorLoadingOffersIcon: PropTypes.string.isRequired,
noOffersColumn: PropTypes.string.isRequired,
offerItemsContainer: PropTypes.string.isRequired,
Expand Down Expand Up @@ -142,6 +143,7 @@ const SearchResultsMobile = () => {
errorLoadingOffersIcon: classes.errorLoadingOffersIcon,
reviseCriteriaErrorMessage: classes.reviseCriteriaErrorMessage,
fullHeight: classes.fullHeight,
heightOffersList: classes.heightOffersList,
offerItemsContainer: classes.offerItemsContainer,
};

Expand Down

0 comments on commit 594d135

Please sign in to comment.