-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$1000] Web - Log in - Text is centered when the window is minimized #17575
Comments
Triggered auto assignment to @dylanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
|
Yes, I can reproduce with my account in Windows/Chrome |
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.Web Log in - Text is centered aligned when window is minimized. It should be left aligned. What is the root cause of that problem?Welcome back text rendered via code below App/src/pages/signin/SignInPageLayout/SignInPageContent.js Lines 68 to 70 in f599146
At line 68 it uses styles.loginHeroBody and for large screen it left align text via !props.isSmallScreenWidth ? styles.textAlignLeft : {}
Lines 3121 to 3126 in f599146
So here what happen, for large screen it will align text left due to What changes do you think we should make in order to solve the problem?Here important thing is we can not remove center style from So we can remove So updated code will be as under: <Text style={[styles.loginHeroBody, styles.mb5, styles.textNormal, styles.textAlignLeft]}>
{props.welcomeText}
</Text> So this will solve the problem and shows text left aligned. What alternative solutions did you explore? (Optional)None ResultsWeb.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Magic code text in singin page is center in small screens What is the root cause of that problem?Class App/src/pages/signin/SignInPageLayout/SignInPageContent.js Lines 56 to 57 in f54a8bd
Lines 3114 to 3119 in f54a8bd
What changes do you think we should make in order to solve the problem?We can remove this(
|
@kbecciv can you link slack convo for this please? |
Job added to Upwork: https://www.upwork.com/jobs/~013d2ed168915073c8 |
Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Triggered auto assignment to @danieldoglas ( |
Hey! Can I work on this issue ?? |
📣 @Vishrut19! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Hey! Can someone suggest me how I can contribute or take up this issue? |
@Vishrut19 Follow this guideline |
Can someone tell me that how to take an issue? |
This may help https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md#propose-a-solution-for-the-job |
ProposalPlease re-state the problem that we are trying to solve in this issue.Log in - Text is centered when the window is minimized instead of being centered on te left edge What is the root cause of that problem?The textAlign: 'center' property in both the loginHeroHeader and loginHeroBody styles. This property centers the text within its container. When the window is minimized, the container may become narrower than the text, causing it to be centered and not aligned with the left edge. To fix this error, the textAlign property can be changed to textAlign: 'left' to align the text with the left edge of the container. What changes do you think we should make in order to solve the problem?update the styles for loginHeroHeader and loginHeroBody to use textAlign: 'left' instead of 'center' loginHeroBody: { |
cc @grgia Also lets make sure there are no 2 scrollbars showing, there should be only one. |
Also removing the Needs reproduction, I think this is reproducible reliably on Windows, but internally we dont have any windows device so we will have to rely on the community here |
Thanks everyone for the proposals, will review asap. But first I'd like to get some confirmations:
Diff in text alignments:
|
probably best to hear from @grgia if we should close this out or no |
Yes, that text should be centered on small screen widths. Closing out |
@dylanexpensify You migth want to terminate the Upwork job |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #15737
Action Performed:
email address
"Expected Result:
The text is centered on the left edge
There should ever only be 1 scroll bar on the right hand side
Actual Result:
Text is centered
There are 2 scrollbars on the right hand side
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.1.0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6022219_Recording__4209.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: