Skip to content

Commit

Permalink
Merge pull request #36765 from rayane-djouah/Fix-Empty-state-image-ha…
Browse files Browse the repository at this point in the history
…s-too-much-overlap-with-message-in-attachment-thread

Fix: Empty state image has too much overlap with message in attachment thread
  • Loading branch information
yuwenmemon authored Feb 20, 2024
2 parents 75ebe2e + 08a9fbe commit 4ae7b29
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,23 +148,23 @@ const CONST = {
SMALL_SCREEN: {
IMAGE_HEIGHT: 300,
CONTAINER_MINHEIGHT: 200,
VIEW_HEIGHT: 185,
VIEW_HEIGHT: 240,
},
WIDE_SCREEN: {
IMAGE_HEIGHT: 450,
CONTAINER_MINHEIGHT: 500,
VIEW_HEIGHT: 275,
VIEW_HEIGHT: 390,
},
MONEY_OR_TASK_REPORT: {
SMALL_SCREEN: {
IMAGE_HEIGHT: 300,
CONTAINER_MINHEIGHT: 280,
VIEW_HEIGHT: 220,
VIEW_HEIGHT: 240,
},
WIDE_SCREEN: {
IMAGE_HEIGHT: 450,
CONTAINER_MINHEIGHT: 280,
VIEW_HEIGHT: 275,
VIEW_HEIGHT: 390,
},
},
},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/home/report/ReportActionItemParentAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ function ReportActionItemParentAction({report, index = 0, shouldHideThreadDivide

return (
<>
<View style={[StyleUtils.getReportWelcomeContainerStyle(isSmallScreenWidth), styles.justifyContentEnd]}>
<View style={[StyleUtils.getReportWelcomeContainerStyle(isSmallScreenWidth)]}>
<AnimatedEmptyStateBackground />
<View style={[styles.p5, StyleUtils.getReportWelcomeTopMarginStyle(isSmallScreenWidth)]} />
<View style={[StyleUtils.getReportWelcomeTopMarginStyle(isSmallScreenWidth)]} />
{allAncestors.map((ancestor) => (
<OfflineWithFeedback
key={ancestor.reportAction.reportActionID}
Expand Down

0 comments on commit 4ae7b29

Please sign in to comment.