Skip to content

Commit 4973fe4

Browse files
committed
fix(react-native-li): align text marker at the end of the marker box
1 parent c15b7fd commit 4973fe4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native-li/src/useMarkedList.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export default function useMarkedList({
6969
flexShrink: 0,
7070
fontSize: DEFAULT_FONT_SIZE,
7171
textAlign: syntheticRtlLineReversed ? 'left' : 'right',
72+
alignSelf: syntheticRtlLineReversed ? 'flex-start' : 'flex-end',
7273
...markerTextStyle
7374
} as const),
7475
[markerTextStyle, syntheticRtlLineReversed]

0 commit comments

Comments
 (0)