Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed styling issue #146

Merged
merged 1 commit into from
Jan 24, 2020
Merged

fixed styling issue #146

merged 1 commit into from
Jan 24, 2020

Conversation

luisaugusto
Copy link
Contributor

Regarding issue #142, I installed this locally and am not seeing this issue. When I check the image, it's set to height: auto and it uses the img-fluid class so there should not be a fixed height on it. I did see that .mentor-img-thumbnail had a height set to 200px, so in the event that the image is resized and does look distorted, I added object-fit: contain and object-position: center to remove the distortion.

@elangosundar elangosundar merged commit 8cdc3e5 into 10secondsofcode:master Jan 24, 2020
@elangosundar
Copy link
Contributor

@luisaugusto thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants