Skip to content

Commit

Permalink
Merge pull request #53946 from FitseTLT/fix-quick-action-label-spacing
Browse files Browse the repository at this point in the history
Fix - Adjust spacing in Global Create menu for Quick Action button
  • Loading branch information
srikarparsi authored Dec 16, 2024
2 parents ff2fc94 + fbb3995 commit 0d17435
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ function FloatingActionButtonAndPopover({onHideCreateMenu, onShowCreateMenu}: Fl
// Define common properties in baseQuickAction
const baseQuickAction = {
label: translate('quickAction.header'),
labelStyle: [styles.pt3, styles.pb2],
isLabelHoverable: false,
floatRightAvatars: quickActionAvatars,
floatRightAvatarSize: CONST.AVATAR_SIZE.SMALL,
Expand Down Expand Up @@ -451,6 +452,8 @@ function FloatingActionButtonAndPopover({onHideCreateMenu, onShowCreateMenu}: Fl
quickActionAvatars,
styles.popoverMenuItem.paddingHorizontal,
styles.popoverMenuItem.paddingVertical,
styles.pt3,
styles.pb2,
styles.productTrainingTooltipWrapper,
renderProductTrainingTooltip,
hideProductTrainingTooltip,
Expand Down Expand Up @@ -478,12 +481,12 @@ function FloatingActionButtonAndPopover({onHideCreateMenu, onShowCreateMenu}: Fl
onItemSelected={hideCreateMenu}
fromSidebarMediumScreen={!shouldUseNarrowLayout}
menuItems={[
...expenseMenuItems,
{
icon: Expensicons.ChatBubble,
text: translate('sidebarScreen.fabNewChat'),
onSelected: () => interceptAnonymousUser(Report.startNewChat),
},
...expenseMenuItems,
...(canSendInvoice
? [
{
Expand Down

0 comments on commit 0d17435

Please sign in to comment.