Skip to content

Commit

Permalink
Merge pull request #48975 from software-mansion-labs/Guccio163/flexFi…
Browse files Browse the repository at this point in the history
…lters

[CP Staging] Move `flex: 1` directly to advanced filters
  • Loading branch information
luacmartins authored Sep 11, 2024
2 parents fe6ded2 + f8ab06d commit 2877141
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/components/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ function MenuItem(
const combinedTitleTextStyle = StyleUtils.combineStyles(
[
styles.flexShrink1,
styles.flex1,
styles.popoverMenuText,
// eslint-disable-next-line no-nested-ternary
shouldPutLeftPaddingWhenNoIcon || (icon && !Array.isArray(icon)) ? (avatarSize === CONST.AVATAR_SIZE.SMALL ? styles.ml2 : styles.ml3) : {},
Expand Down
1 change: 1 addition & 0 deletions src/pages/Search/AdvancedSearchFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ function AdvancedSearchFilters() {
<MenuItemWithTopDescription
key={filter.description}
title={filter.title}
titleStyle={styles.flex1}
description={filter.description}
shouldShowRightIcon
onPress={filter.onPress}
Expand Down

0 comments on commit 2877141

Please sign in to comment.