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

feat(Image): Change background-image: contain to background-image: cover #78

Merged
merged 1 commit into from
Aug 10, 2018

Conversation

csabbee
Copy link
Contributor

@csabbee csabbee commented Aug 10, 2018

This change is needed so the images' right side won't get chopped off

What: In the StyledResponsiveImage component the background-image: contain property got replaced with background-image: cover

Why: This change was needed so the right side of the images won't get chopped off.

How: Changed the style of the component.

Checklist:

  • Documentation N/A
  • Tests
  • Ready to be merged

This change is needed so the images' right side won't get chopped off
@codecov
Copy link

codecov bot commented Aug 10, 2018

Codecov Report

Merging #78 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #78   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          99     99           
  Lines         739    739           
  Branches      129    129           
=====================================
  Hits          739    739
Impacted Files Coverage Δ
src/components/Image/Responsive.styles.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 016ff3b...76b29e6. Read the comment docs.

@ooHmartY ooHmartY merged commit aec75d9 into ticketmaster:master Aug 10, 2018
@tm-github-bot
Copy link
Collaborator

🎉 This PR is included in version 2.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants