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

Refactor: limit description length to 120 chars and re-style them #7377

Conversation

pauloiankoski
Copy link
Contributor

@pauloiankoski pauloiankoski commented Apr 29, 2024

Resolves GIVE-700

Description

This pull request sets a limit for level descriptions to 120 characters. Additionally, levels are now styled in a way that for long descriptions, their buttons are top-aligned.

FYI: In this PR, we are only setting the max length. All related code has been added to the OptionsPanel component as that's the responsible for controlling that.

Affects

Amount level descriptions

Visuals

CleanShot 2024-04-29 at 17 16 00
CleanShot 2024-04-29 at 17 14 27

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

@pauloiankoski pauloiankoski merged commit 27cd65b into epic/donation-amount-level-descriptions Apr 29, 2024
20 checks passed
@pauloiankoski pauloiankoski deleted the feature/limit-description-chars branch April 29, 2024 20:35
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