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 sizing of shadow for non-square images #350

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

jacobkeeler
Copy link
Contributor

Fixes #339

Testing Plan

  • I have verified that I have not introduced new warnings in this PR (or explain why below)
  • I have tested this PR against Core and verified behavior (if applicable, if not applicable, explain why below).

Core Tests

Tested media template graphic with images of various aspect ratios

Core version / branch / commit hash / module tested against: develop
Proxy+Test App name / version / branch / commit hash / module tested against: RPC Builder, master

Summary

The image shadow for the media template graphic would remain a consistent size regardless of the aspect ratio of the image. This PR fixes the CSS to make it so the shadow matches the size of the graphic directly.

Changelog

Bug Fixes
  • Fixed sizing of media graphic shadow for non-square images

CLA

@jacobkeeler jacobkeeler merged commit 78915b8 into develop Feb 9, 2021
@jacobkeeler jacobkeeler deleted the fix/box_shadow_sizing branch February 9, 2021 14:27
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