Skip to content

Commit

Permalink
fixed some mobile css
Browse files Browse the repository at this point in the history
  • Loading branch information
vanesssalai committed Jun 24, 2024
1 parent 03f77c4 commit 27cbb97
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/pages/search/SearchPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@
padding: 12px;
top: 100px;
}

.product-filter {
font-size: 16px;
}
.product-filter select {
padding: 5px;
font-size: 12px;
}
}
9 changes: 9 additions & 0 deletions src/pages/search/filter/productFilter.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,13 @@
width: 100%;
top: 24px;
}

.filter-group label {
font-size: 12px;
}
.display {
position: relative;
font-size: 12px;
top: -6px;
}
}
2 changes: 1 addition & 1 deletion src/pages/search/filter/productFilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function ProductFilter({ minPrice, maxPrice, onFilterChange, onSortChange }) {
onChange={handleMaxPriceChange}
/>
</div>
<div>
<div className='display'>
<span>{priceRange[0]}</span> - <span>{priceRange[1]}</span>
</div>
</div>
Expand Down

0 comments on commit 27cbb97

Please sign in to comment.