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

Fix image stretching #544

Merged
merged 3 commits into from
Aug 22, 2015
Merged

Fix image stretching #544

merged 3 commits into from
Aug 22, 2015

Commits on Aug 21, 2015

  1. Fix image stretching

    By setting height to 200 you were causing images to stretch.  Setting it to a max-height, makes it fit auto resize to fit your max height.
    geekgonecrazy committed Aug 21, 2015
    Configuration menu
    Copy the full SHA
    2276202 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2015

  1. Updated to fixed height containing div

    This way area doesn't expand after the image loads causing content to shift.
    geekgonecrazy committed Aug 22, 2015
    Configuration menu
    Copy the full SHA
    a3ba55a View commit details
    Browse the repository at this point in the history
  2. CSS Vertical center as suggested

    Suggested by @rodrigok.
    
    Looks much better on small images to be aligned in the center.  Especially if height needs to remain at 200px;
    geekgonecrazy committed Aug 22, 2015
    Configuration menu
    Copy the full SHA
    14f3755 View commit details
    Browse the repository at this point in the history