Skip to content

Commit 2f0c2fb

Browse files
authored
Merge pull request Expensify#88146 from Expensify/shawn-multiSelect
Use a larger button for multi-select on web
2 parents 4d41d2e + 5ed51a5 commit 2f0c2fb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/Search/SearchBulkActionsButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,10 @@ function SearchBulkActionsButton({queryJSON}: SearchBulkActionsButtonProps) {
171171
/>
172172
</View>
173173
) : (
174-
<View style={[styles.flexRow, styles.gap3]}>
174+
<View style={[styles.flexRow, styles.alignItemsCenter, styles.gap3]}>
175175
<ButtonWithDropdownMenu
176176
onPress={() => null}
177177
shouldAlwaysShowDropdownMenu
178-
buttonSize={CONST.DROPDOWN_BUTTON_SIZE.SMALL}
179178
customText={selectionButtonText}
180179
options={headerButtonsOptions}
181180
shouldPopoverUseScrollView={popoverUseScrollView}

src/styles/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4916,8 +4916,10 @@ const staticStyles = (theme: ThemeColors) =>
49164916
minHeight: variables.componentSizeSmall,
49174917
},
49184918

4919+
// The filter bar row is 34px tall, but the default (larger) bulk-action button is 40px.
4920+
// To keep the bar from growing, we pull the button up/down by half the difference: (40 - 34) / 2 = 3.
49194921
searchBulkActionsButton: {
4920-
marginVertical: 3,
4922+
marginVertical: -3,
49214923
},
49224924

49234925
filtersBar: {

0 commit comments

Comments
 (0)