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

Image Card: Allow promotional variant images to have dynamic height #165

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

daneah
Copy link
Member

@daneah daneah commented Jul 15, 2021

This change: (check at least one)

  • Adds a new feature
  • Fixes a bug
  • Improves maintainability
  • Improves documentation
  • Is a release activity

Is this a breaking change? (check one)

  • Yes
  • No

Is the: (complete all)

  • Title of this pull request clear, concise, and indicative of the issue number it addresses, if any?
  • Test suite(s) passing?
  • Code coverage maximal?
  • Changeset added?

What does this change address?

Promotional image cards are meant to allow for a broader range of possible images because they're hand-chosen. This means they should also be given room to be sized dynamically/bespoke.

How does this change work?
Remove the stringent 14rem height from promotional images. Images can be sized either with layouts or explicitly with CSS by the consumer.

@daneah daneah merged commit 7c77a9d into develop Jul 15, 2021
@daneah daneah deleted the fix/image-card-promo-dynamic-height branch July 15, 2021 17:29
@github-actions github-actions bot mentioned this pull request Jul 15, 2021
sirrah-tam pushed a commit to sirrah-tam/pharos that referenced this pull request Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants