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: Adjust design selector card height for Safari compatibility #7530

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

JoshuaHungDinh
Copy link
Contributor

@JoshuaHungDinh JoshuaHungDinh commented Aug 30, 2024

Resolves: GIVE-1229 & #7518

Description

This PR sets the height of each design selector card to auto. It would seem the parent elements of the card do not have a set height and Safari is having trouble calculating what it should it be. This can be fixed by changing the parent grid to a flex system or setting the height to auto and allowing it to adjust it self. These changes introduce the latter.

Affects

Design Selector Card - new form template selecting modal

Visuals

template-new
template-previous

Testing Instructions

  • Add a new form via VFB.
  • Verify each form template card is an appropriate height on while using Safari.

Pre-review Checklist

  • Acceptance criteria satisfied and marked in related issue
  • Relevant @unreleased tags included in DocBlocks
  • Includes unit tests
  • Reviewed by the designer (if follows a design)
  • Self Review of code and UX completed

@JoshuaHungDinh JoshuaHungDinh changed the title refactor: remove set height refactor: remove set height on design selector card Sep 5, 2024
@JoshuaHungDinh JoshuaHungDinh changed the title refactor: remove set height on design selector card Fix: Adjust design selector card height for Safari compatibility Sep 5, 2024
@JoshuaHungDinh JoshuaHungDinh marked this pull request as ready for review September 6, 2024 19:57
@pauloiankoski pauloiankoski self-requested a review September 10, 2024 18:22
Copy link
Contributor

@pauloiankoski pauloiankoski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Copy link
Member

@rickalday rickalday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed manual QA tests.

@JoshuaHungDinh JoshuaHungDinh merged commit ada6072 into develop Sep 17, 2024
20 checks passed
@JoshuaHungDinh JoshuaHungDinh deleted the fix/design-selector-cards-safari branch September 17, 2024 14:22
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