-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from andrewc0urt/style/all-campgrounds-page-ca…
…rd-improvements Merge: All Campgrounds Page Card and Image Improvements
- Loading branch information
Showing
4 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* Ensure all card widths & heights are the same */ | ||
.individual-campground-card { | ||
width: 100%; | ||
max-width: 1294px; | ||
} | ||
|
||
/* Ensure all card image heights are the same to prevent different size cards and ensure images take up height of card */ | ||
.individual-campground-card .img-fluid { | ||
width: 100%; | ||
/* height: auto; */ | ||
height: 277px; | ||
object-fit: cover; /* Ensures the image covers the container without distortion */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters