-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[CP Staging] Fix illustration styling for empty view #54577
Conversation
@paultsimura @ One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
<ScrollView contentContainerStyle={[styles.flex1, styles.justifyContentCenter]}> | ||
<View style={[styles.overflowHidden, styles.minHeight65]}> |
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.
<ScrollView contentContainerStyle={[styles.flex1, styles.justifyContentCenter]}> | |
<View style={[styles.overflowHidden, styles.minHeight65]}> | |
<ScrollView contentContainerStyle={[styles.flexGrow1]}> | |
<View style={[styles.flex1, styles.overflowHidden, styles.minHeight65]}> |
Let's only add styles.flexGrow1
to the ScrollView
bcoz flex1
won't show the scrollbar for native if content exceeds.
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-26.at.12.15.00.mp4
Co-authored-by: Pujan Shah <[email protected]>
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
[CP Staging] Fix illustration styling for empty view (cherry picked from commit d3afb19) (CP triggered by jasperhuangg)
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.0.78-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.78-6 🚀
|
Explanation of Change
Update styling
Fixed Issues
$ #54564
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
See MacOS: Chrome / SafariAndroid: mWeb Chrome
See MacOS: Chrome / SafariiOS: Native
See MacOS: Chrome / SafariiOS: mWeb Safari
See MacOS: Chrome / SafariMacOS: Chrome / Safari
MacOS: Desktop
See MacOS: Chrome / Safari