Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

fixed image height in card #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions client/src/components/post-card/PostCard.styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
border-radius: 10px;
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
min-height: 100%;
max-height: 200px;
max-height: 100%;
}

#posts .post .post-description {
Expand Down Expand Up @@ -91,9 +91,6 @@
}

@media (max-width: 770px) {
#posts .post img.post-image {
max-height: 100%;
}
.card-overlay {
bottom: 5px;
}
Expand Down