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

Improved scaling of images on start page #1591

Open
werkstrom opened this issue Sep 29, 2019 · 0 comments

Comments

@werkstrom
Copy link

commented Sep 29, 2019

Might I suggest modifying the style.css / .card-img-top class as per below. I believe it scales to fit the container without distorting proportions this way. Not extensively tested thought.

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px); } 
@thorsten thorsten self-assigned this Sep 30, 2019
@thorsten thorsten added this to To Do in 3.0.0-beta.3 via automation Sep 30, 2019
@thorsten thorsten added this to the 3.0 milestone Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3.0.0-beta.3
  
To Do
2 participants
You can’t perform that action at this time.