From 119f1d168c1f0eb8fd8a204df78e1f6f34b87eeb Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Thu, 12 Nov 2026 12:34:18 +0100 Subject: [PATCH] fix: button moving on stepper for 2 digit numbers --- .../components/Poll/components/MultipleVotesSettings.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package/src/components/Poll/components/MultipleVotesSettings.tsx b/package/src/components/Poll/components/MultipleVotesSettings.tsx index dab00f2030..d86851dcfc 100644 --- a/package/src/components/Poll/components/MultipleVotesSettings.tsx +++ b/package/src/components/Poll/components/MultipleVotesSettings.tsx @@ -1,5 +1,5 @@ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'; -import { I18nManager, Platform, StyleSheet, Switch, Text, TextInput, View } from 'react-native'; +import { Platform, StyleSheet, Switch, Text, TextInput, View } from 'react-native'; import Animated, { LinearTransition, StretchInY, StretchOutY } from 'react-native-reanimated'; @@ -238,14 +238,15 @@ const useStyles = () => { row: { alignItems: 'center', flexDirection: 'row', - gap: primitives.spacingXxs, + gap: primitives.spacingXs, }, input: { color: semantics.textPrimary, fontSize: primitives.typographyFontSizeMd, - paddingHorizontal: primitives.spacingSm, + minWidth: 32, + paddingHorizontal: 0, paddingVertical: primitives.spacingMd, - textAlign: I18nManager.isRTL ? 'right' : 'left', + textAlign: 'center', }, buttonEnabled: { borderColor: semantics.borderCoreOnSurface,