Skip to content

Commit

Permalink
Update CarList.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Aug 25, 2024
1 parent ef46807 commit 84bb605
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/src/assets/css/car-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ section.car-list article .btn-book {

section.car-list div.title {
max-width: 600px;
padding-left: 10px;
}

section.car-list div.car-header {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/CarList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ const CarList = ({
</div>
<div className="car">
<img src={bookcarsHelper.joinURL(env.CDN_CARS, car.image)} alt={car.name} className="car-img" />
<div className="car-footer">
<div className="car-footer" style={hidePrice ? { bottom: 10 } : undefined}>
<div className="car-footer-row1">
<div className="rating">
{car.rating && car.rating >= 1 && (
Expand Down

0 comments on commit 84bb605

Please sign in to comment.