Skip to content

Commit

Permalink
Fix: Update height to 108
Browse files Browse the repository at this point in the history
  • Loading branch information
truph01 committed Jun 21, 2024
1 parent c33c891 commit 269df4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ const CONST = {
},
CENTRAL_PANE_ANIMATION_HEIGHT: 200,
LHN_SKELETON_VIEW_ITEM_HEIGHT: 64,
SEARCH_SKELETON_VIEW_ITEM_HEIGHT: 100,
SEARCH_SKELETON_VIEW_ITEM_HEIGHT: 108,
EXPENSIFY_PARTNER_NAME: 'expensify.com',
EMAIL: {
ACCOUNTING: 'accounting@expensify.com',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function Search({query, policyIDs, sortBy, sortOrder}: SearchProps) {
const isLoadingMoreItems = !isLoadingItems && searchResults?.search?.isLoading && searchResults?.search?.offset > 0;
const shouldShowEmptyState = !isLoadingItems && isEmptyObject(searchResults?.data);

if (isLoadingItems) {
if (true) {
return <TableListItemSkeleton shouldAnimate />;
}

Expand Down
10 changes: 5 additions & 5 deletions src/components/Skeletons/TableListItemSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,33 +61,33 @@ function TableListItemSkeleton({shouldAnimate = true, fixedNumItems}: TableListI

<Rect
x={16}
y={48}
y={56}
width={36}
height={40}
rx={4}
ry={4}
/>
<Rect
x={64}
y={57}
y={65}
width={124}
height={8}
/>
<Rect
x={64}
y={71}
y={79}
width={60}
height={8}
/>
<Rect
x={windowWidth - 120}
y={57}
y={65}
width={80}
height={8}
/>
<Rect
x={windowWidth - 100}
y={71}
y={79}
width={60}
height={8}
/>
Expand Down

0 comments on commit 269df4f

Please sign in to comment.