Skip to content

Commit

Permalink
Increase table row and decrease table row gap
Browse files Browse the repository at this point in the history
  • Loading branch information
abzokhattab committed Sep 29, 2024
1 parent 3047c1b commit c160730
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/SelectionList/ChatListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function ChatListItem<TItem extends ListItem>({
[styles.selectionListPressableItemWrapper, styles.textAlignLeft, item.isSelected && styles.activeComponentBG, isFocused && styles.sidebarLinkActive, item.cursorStyle],
]}
wrapperStyle={[styles.flexRow, styles.flex1, styles.justifyContentBetween, styles.userSelectNone]}
containerStyle={styles.mb3}
containerStyle={styles.mb2}
isFocused={isFocused}
isDisabled={isDisabled}
showTooltip={showTooltip}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectionList/Search/ReportListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function ReportListItem<TItem extends ListItem>({
item={item}
pressableStyle={listItemPressableStyle}
wrapperStyle={[styles.flexRow, styles.flex1, styles.justifyContentBetween, styles.userSelectNone, styles.alignItemsCenter]}
containerStyle={[styles.mb3]}
containerStyle={[styles.mb2]}
isFocused={isFocused}
isDisabled={isDisabled}
showTooltip={showTooltip}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function TransactionListItem<TItem extends ListItem>({
item={item}
pressableStyle={listItemPressableStyle}
wrapperStyle={listItemWrapperStyle}
containerStyle={[styles.mb3]}
containerStyle={[styles.mb2]}
isFocused={isFocused}
isDisabled={isDisabled}
showTooltip={showTooltip}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SelectionList/TableListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function TableListItem<TItem extends ListItem>({
item={item}
pressableStyle={[[styles.selectionListPressableItemWrapper, item.isSelected && styles.activeComponentBG, isFocused && styles.sidebarLinkActive, item.cursorStyle]]}
wrapperStyle={[styles.flexRow, styles.flex1, styles.justifyContentBetween, styles.userSelectNone, styles.alignItemsCenter]}
containerStyle={styles.mb3}
containerStyle={styles.mb2}
isFocused={isFocused}
isDisabled={isDisabled}
showTooltip={showTooltip}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Skeletons/SearchRowSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function SearchRowSkeleton({shouldAnimate = true, fixedNumItems, gradientOpacity
return (
<ItemListSkeletonView
itemViewHeight={CONST.SEARCH_SKELETON_VIEW_ITEM_HEIGHT}
itemViewStyle={[styles.highlightBG, styles.mb3, styles.br3, styles.mh5]}
itemViewStyle={[styles.highlightBG, styles.mb2, styles.br3, styles.mh5]}
gradientOpacityEnabled={gradientOpacityEnabled}
shouldAnimate={shouldAnimate}
fixedNumItems={fixedNumItems}
Expand Down
1 change: 1 addition & 0 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4658,6 +4658,7 @@ const styles = (theme: ThemeColors) =>
marginHorizontal: 20,
backgroundColor: theme.highlightBG,
borderRadius: 8,
minHeight: variables.optionRowHeight,
},

selectionListStickyHeader: {
Expand Down

0 comments on commit c160730

Please sign in to comment.