Skip to content

Commit ff7326b

Browse files
committed
Fix iOS - Expense - Pay button splits in half in landscape mode
1 parent af304c0 commit ff7326b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/ButtonWithDropdownMenu

src/components/ButtonWithDropdownMenu/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function ButtonWithDropdownMenu<IValueType>({ref, ...props}: ButtonWithDropdownM
177177
shouldStayNormalOnDisable={shouldStayNormalOnDisable}
178178
isLoading={isLoading}
179179
shouldRemoveRightBorderRadius
180-
style={isSplitButton ? [styles.pr0, isInLandscapeMode ? undefined : styles.flex1] : {}}
180+
style={isSplitButton ? [styles.pr0, styles.flexGrow1] : {}}
181181
extraSmall={buttonSize === CONST.DROPDOWN_BUTTON_SIZE.EXTRA_SMALL}
182182
large={buttonSize === CONST.DROPDOWN_BUTTON_SIZE.LARGE}
183183
medium={buttonSize === CONST.DROPDOWN_BUTTON_SIZE.MEDIUM}

0 commit comments

Comments
 (0)