Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ function MenuItem({
</View>
)}
{!!brickRoadIndicator && (
<View style={[styles.alignItemsCenter, styles.justifyContentCenter, styles.ml1]}>
<View style={[styles.alignItemsCenter, styles.justifyContentCenter, styles.ml1, styles.mr2]}>
<Icon
src={icons.DotIndicator}
fill={brickRoadIndicator === CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR ? theme.danger : theme.success}
Expand All @@ -1096,7 +1096,7 @@ function MenuItem({
<View
style={[
styles.pointerEventsAuto,
StyleUtils.getMenuItemIconStyle(isCompact),
StyleUtils.getMenuItemIconStyle(true),
disabled && !shouldUseDefaultCursorWhenDisabled && styles.cursorDisabled,
hasSubMenuItems && styles.pl6,
!isHovered && shouldDimIconRight && styles.opacitySemiTransparent,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/MoneyRequestView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ function MoneyRequestView({
{shouldShowReimbursable && (
<OfflineWithFeedback
pendingAction={getPendingFieldAction('reimbursable')}
contentContainerStyle={[styles.flexRow, styles.optionRow, styles.justifyContentBetween, styles.alignItemsCenter, styles.ml5, styles.mr8]}
contentContainerStyle={[styles.flexRow, styles.optionRow, styles.justifyContentBetween, styles.alignItemsCenter, styles.m5]}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep reimbursable row margin horizontal-only

Replacing styles.ml5, styles.mr8 with styles.m5 applies margin: 20 on all sides, not just left/right. When the reimbursable toggle is shown, this adds unintended 20px top and bottom spacing around the row, creating a visible layout regression compared with neighboring rows (e.g., billable) that still use horizontal-only spacing.

Useful? React with 👍 / 👎.

>
<View>
<Text
Expand Down
Loading