#justify right the value in NumberInput

3 messages · Page 1 of 1 (latest)

slate trellis
#

Hi all, the default for the placeholder and value in a NumberInput is to the left side, how do i set it to the right side?

here's a vanilla NumberInput

<NumberInput
  size="xl"
  radius="lg"
  label="Input label"
  description="Input description"
  placeholder="Input placeholder"
  />
thorny lintel
slate trellis
#

Hi @thorny lintel

so if if have somethign like

    <NumberInput
      size="xl"
      radius="lg"
      label="Input label"
      description="Input description"
      placeholder="Input placeholder"
      className={classes.input_B}
      />

with module.css

.input_B {
  align-items: right;
}