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

(cherry picked from commit 2877141)

(CP triggered by luacmartins)
  • Loading branch information
luacmartins authored and OSBotify committed Sep 11, 2024
1 parent 786721a commit 2d52664
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 2d52664

Please sign in to comment.