Skip to content

Commit 989e282

Browse files
committed
ajuste anchura inpput stepper
1 parent a49dc1a commit 989e282

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/common/components/mock-components/front-rich-components/input-stepper.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { ShapeType } from '@/core/model';
77
import { ShapeProps } from '../shape.model';
88
import { useShapeProps } from '../../shapes/use-shape-props.hook';
99
import { INPUT_SHAPE } from '../front-components/shape.const';
10+
import { i } from 'vitest/dist/reporters-yx5ZTtEV.js';
1011

1112
// Size restrictions (igual patrón que file-tree)
1213
export const inputStepperShapeRestrictions: ShapeSizeRestrictions = {
@@ -64,13 +65,13 @@ export const InputWithStepper = forwardRef<any, ShapeProps>((props, ref) => {
6465

6566
{/* Texto del input */}
6667
<Text
67-
x={inputWidth / 2 - 10} // Alinear a la derecha
68+
x={0} // Alinear a la derecha
6869
y={height / 2 - 8} // Centrar verticalmente
69-
text={'0'}
70+
text={text}
7071
fontFamily="Arial"
7172
fontSize={16}
7273
fill={textColor}
73-
align="right"
74+
align="left"
7475
/>
7576

7677
{/* Botón de incremento (flecha arriba) */}

0 commit comments

Comments
 (0)