-
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
Modify line height so text does not get cut off in LHN #4143
Conversation
|
I don't think we should make this change globally, so please hold on merging this. |
Okay so based on Rajat's comment, can you just add this lineHeight to the specific area that is being affected on Android? We should not be changing this globally as before Rory's change, the global line height (or at least what we tried to use as much as we could) was 20. |
So basically just set 18 as the line height on |
@shawnborton They're already at 18: https://github.com/Expensify/Expensify.cash/blob/0639c6771204ceb1c91926813fb2b3368c49a8b6/src/styles/styles.js#L803-L804 I can just set them to |
Ah got it. Okay, I am cool with making these 20 line height so long as the line below is at 16 line height. Then, assuming there is a 4px gap between them, we get a total height of 40px which matches the avatar to the left. |
Cool! That they are: Lines 822 to 828 in f8c358e
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Please test it on #focus mode. The issue is mainly visible in that case. |
@parasharrajat I assume you're referring to #4137? |
Nice. There is one more place to look at the Report header. It is also affected by the same issue. |
@parasharrajat I'm sorry, but can you please point to an issue or something displaying what you're talking about? |
Gonna merge this since Luke is OOO |
Modify line height so text does not get cut off in LHN (cherry picked from commit 029ed17)
🚀 Deployed to staging in version: 1.0.79-3🚀
|
Tested this on:
|
🚀 Deployed to production in version: 1.0.79-4🚀
|
🚀 Deployed to staging in version: 1.0.79-5🚀
|
🚀 Deployed to production in version: 1.0.80-2🚀
|
Pullerbearing (@Luke9389)
cc @roryabraham
Details
Fixes a line height so that text is not cut off in Android. h/t @parasharrajat for his comment here: #4074 (comment)
Fixed Issues
$ #4074
$ #4143
Tests/QA
Tested On
Screenshots
Web
Mobile Web
Desktop
cd i
iOS
Android