From 4973fe49cf2645c174bc7b18bd9d4034f963f039 Mon Sep 17 00:00:00 2001 From: "Jules Sam. Randolph" Date: Fri, 4 Jun 2021 16:49:32 -0300 Subject: [PATCH] fix(react-native-li): align text marker at the end of the marker box --- packages/react-native-li/src/useMarkedList.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native-li/src/useMarkedList.ts b/packages/react-native-li/src/useMarkedList.ts index a618b29..a5ce785 100644 --- a/packages/react-native-li/src/useMarkedList.ts +++ b/packages/react-native-li/src/useMarkedList.ts @@ -69,6 +69,7 @@ export default function useMarkedList({ flexShrink: 0, fontSize: DEFAULT_FONT_SIZE, textAlign: syntheticRtlLineReversed ? 'left' : 'right', + alignSelf: syntheticRtlLineReversed ? 'flex-start' : 'flex-end', ...markerTextStyle } as const), [markerTextStyle, syntheticRtlLineReversed]