App icon indicating copy to clipboard operation
App copied to clipboard

Bullet point text not fitting the screen in .cash when sent via email

Open MitchExpensify opened this issue 5 years ago • 14 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Upwork posting

Platform - version: Desktop 1.0.10-0

Action Performed (reproducible steps):

  1. Draft an email to a .cash user (e.g. [email protected]) and cc [email protected] so it hits .cash when sent
  2. Include a bullet point in the email body and write a long sentence for that bullet point
  3. Send it
  4. Open the message in .cash

Expected result: To be able to read the entire message

Actual Result: The bullet point sentence is not entirely visible regardless of screen size

Notes/Photos/Videos:

2021-03-22_11-59-24 (2)

/Expensify repo issue

MitchExpensify avatar Apr 02 '21 00:04 MitchExpensify

Triggered auto assignment to @puneetlath (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

MelvinBot avatar Apr 02 '21 00:04 MelvinBot

I am not sure why you have been auto assigned when the exported label was added @puneetlath , I don't recall that happening before on contributor issues

MitchExpensify avatar Apr 02 '21 00:04 MitchExpensify

Hi I applied to this job in Upwork Most probably there are responsiveness issue that can be handled through your UI library. If you are using bootstrap or material UI so it can be handled through Grid system and break points

AliSaeed090 avatar Apr 02 '21 20:04 AliSaeed090

Hey there 😄, Based on provided GIF with a bug I'd suggest that's an issue related to word-break CSS property. List items not wraps at all, but all other texts seems work properly.

I briefly checked code base, and found that you have global file with styles, and general style for wordBreak. Changes should be somewhere here by applying wordBreak styles to list element.

alexandrtovmach avatar Apr 03 '21 09:04 alexandrtovmach

Hi, add this in tagStyles object will resolve this issue

       li: {
            flexShrink: 1,
        },

Here is screenshots after apply this styling. on Web Screen Shot 2021-04-04 at 11 27 14 PM On Mobile(IOS) image

aliabbasmalik8 avatar Apr 05 '21 03:04 aliabbasmalik8

Hi @aliabbasmalik8, your solution sounds good and looks like it will work. Thanks for the screenshots!

Feel free to open up a PR to try this out. I think the placement in tagStyles makes sense for this.

TomatoToaster avatar Apr 05 '21 11:04 TomatoToaster

@MitchExpensify Upwork JOB link not working for me and show this error message you are not authorized to access this page. can you please have a look? Thanks

aliabbasmalik8 avatar Apr 05 '21 13:04 aliabbasmalik8

@aliabbasmalik8 nice job man :+1:

alexandrtovmach avatar Apr 05 '21 13:04 alexandrtovmach

Hey @aliabbasmalik8, are you still not able to access the job? The link here worked fine for me: https://www.upwork.com/ab/applicants/1377776681827938304/job-details

TomatoToaster avatar Apr 05 '21 18:04 TomatoToaster

@TomatoToaster, This link displays the error message you are not authorized to access this page to me.

Screen Shot 2021-04-05 at 2 29 19 PM

aliabbasmalik8 avatar Apr 05 '21 18:04 aliabbasmalik8

@TomatoToaster This is link is not for applicants. It's for Job poster. Try to find an option to share job.

parasharrajat avatar Apr 05 '21 18:04 parasharrajat

Ahhh yep yep, I see what you mean, thanks y'all

Here's the public link: https://www.upwork.com/jobs/~0197d4462a125c2755

TomatoToaster avatar Apr 05 '21 18:04 TomatoToaster

Just hired you in Upwork @aliabbasmalik8, thanks!

MitchExpensify avatar Apr 05 '21 19:04 MitchExpensify

It looks like this didn't auto close, but this change appears to be on the production branch so I'm closing this. Nice work.

TomatoToaster avatar Apr 08 '21 16:04 TomatoToaster