-
Notifications
You must be signed in to change notification settings - Fork 29
Shorten choice cards copy on banner #13860
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
Conversation
Size Change: +7 B (0%) Total Size: 967 kB ℹ️ View Unchanged
|
@@ -149,7 +149,7 @@ const SupportingBenefits = ({ | |||
benefitsLabel: string | undefined; | |||
benefits: string[]; | |||
}) => { | |||
const isBenefit = !!benefitsLabel; | |||
const showTicks = benefits.length > 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously we hid the ticks on the "one off" card only, based on the fact that it had no benefitsLabel
.
However, now that the other cards may have no benefitsLabel
, we need a different way to decide this. It's the only product that only has a single "benefit"
This applies to the banner, not the epic.
Mobile, with only 2 benefits and no benefits label:
Desktop with full copy: