Skip to content

Commit 821697a

Browse files
authored
Merge pull request #48546 from bernhardoj/fix/48528-category-header-text-overlap
Fix category header text overlaps with button
2 parents a956db6 + 1d35eba commit 821697a

File tree

1 file changed

+1
-1
lines changed
  • src/components/ButtonWithDropdownMenu

1 file changed

+1
-1
lines changed

src/components/ButtonWithDropdownMenu/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function ButtonWithDropdownMenu<IValueType>({
110110
isDisabled={isDisabled || !!selectedItem?.disabled}
111111
isLoading={isLoading}
112112
shouldRemoveRightBorderRadius
113-
style={[styles.flex1, styles.pr0]}
113+
style={isSplitButton ? [styles.flex1, styles.pr0] : {}}
114114
large={buttonSize === CONST.DROPDOWN_BUTTON_SIZE.LARGE}
115115
medium={buttonSize === CONST.DROPDOWN_BUTTON_SIZE.MEDIUM}
116116
small={buttonSize === CONST.DROPDOWN_BUTTON_SIZE.SMALL}

0 commit comments

Comments
 (0)