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(Android): [#175090703] CTA text not aligned in the Android Bonus_Request_Information screen #2270

Merged

Conversation

debiff
Copy link
Contributor

@debiff debiff commented Oct 7, 2020

Short description

This PR fix the alignment in the Request bonus button of the Bonus_Request_Information screen on Android device.

List of changes proposed in this pull request

Reduced by 1 point with respect to the standard size of the button the font size

@pagopa-github-bot pagopa-github-bot changed the title [#175090703] CTA text not aligned in the Android Bonus_Request_Information screen fix: [#175090703] CTA text not aligned in the Android Bonus_Request_Information screen Oct 7, 2020
@pagopa-github-bot
Copy link
Collaborator

pagopa-github-bot commented Oct 7, 2020

Affected stories

  • 🐞 #175090703: [trivial] Testo CTA non allineato nello screen Bonus_Request_Information Android

Generated by 🚫 dangerJS against d24ff71

@pagopa-github-bot pagopa-github-bot changed the title fix: [#175090703] CTA text not aligned in the Android Bonus_Request_Information screen fix(Android): [#175090703] CTA text not aligned in the Android Bonus_Request_Information screen Oct 7, 2020
@codecov-io
Copy link

codecov-io commented Oct 7, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@c6a0f5f). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2270   +/-   ##
=========================================
  Coverage          ?   47.92%           
=========================================
  Files             ?      543           
  Lines             ?    15788           
  Branches          ?     3159           
=========================================
  Hits              ?     7566           
  Misses            ?     8180           
  Partials          ?       42           
Impacted Files Coverage Δ
...us/common/components/BonusInformationComponent.tsx 47.16% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c6a0f5f...d24ff71. Read the comment docs.

@@ -108,6 +108,7 @@ const BonusInformationComponent: React.FunctionComponent<Props> = props => {
title: I18n.t("global.buttons.cancel")
};
const requestButtonProps = {
buttonFontSize: customVariables.btnFontSize - 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

For accessibility reasons I guess decrease the font-size is not a good idea.
Perhaps we can change the text and make it shorter

see https://www.pivotaltracker.com/story/show/175090703/comments/218618829

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed the label as suggested.

@Undermaken Undermaken merged commit c033df4 into master Oct 9, 2020
@fabriziofff fabriziofff deleted the 175090703-align-text-cta-bonus-request-information-android branch January 21, 2022 11:46
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.

5 participants