Skip to content

Commit d77329e

Browse files
authored
Merge pull request #92776 from Expensify/claude-anchorInlineWrapAndAlignFix
Remove inline-flex from comment anchors and reset chat row text alignment
2 parents 1585469 + ea7b6ac commit d77329e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ function AnchorRenderer({tnode, style, key}: AnchorRendererProps) {
141141
styles.textUnderlinePositionUnder,
142142
styles.textDecorationSkipInkNone,
143143
isChildOfTaskTitle && styles.taskTitleMenuItem,
144-
styles.dInlineFlex,
145144
hoverStyle,
146145
]}
147146
key={key}
@@ -167,7 +166,6 @@ function AnchorRenderer({tnode, style, key}: AnchorRendererProps) {
167166
textDecorationLineStyle,
168167
styles.textUnderlinePositionUnder,
169168
styles.textDecorationSkipInkNone,
170-
styles.dInlineFlex,
171169
hoverStyle,
172170
]}
173171
>

src/pages/inbox/report/PureReportActionItem.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,10 @@ function PureReportActionItem({
498498
}
499499
Keyboard.dismiss();
500500
}}
501-
style={[action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE && !isDeletedParentAction ? styles.pointerEventsNone : styles.pointerEventsAuto]}
501+
style={[
502+
styles.textAlignLeft,
503+
action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE && !isDeletedParentAction ? styles.pointerEventsNone : styles.pointerEventsAuto,
504+
]}
502505
onPressIn={() => shouldUseNarrowLayout && canUseTouchScreen() && ControlSelection.block()}
503506
onPressOut={() => ControlSelection.unblock()}
504507
onSecondaryInteraction={showPopover}

0 commit comments

Comments
 (0)