Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

169
Vistas
Reducing space between icon and label name

I have the below form in react.

enter image description here

I need to reduce the space between the list-icon and the label. I am using the below CSS for the same.

.form__container {
  display: flex;
  flex-wrap: wrap;
}

.form__container input {
  color: rgb(115, 0, 255);
  size: 100%;
  position: relative;
  flex-wrap: wrap;
  width: 300px;

}

.form__container li ul {
  flex-wrap: nowrap;
  width: 100px;
}

Below is my react component.

  return (
      <div>
        <FormValidator emitter={this.emitter} />
        <div >
          <form encType='multipart/form-data' action={this.props.form_action} method={this.props.form_method}
 className='form__container'>
                { this.props.authenticity_token &&
                  <div style={formTokenStyle}>
                    <input name='utf8' type='hidden' value='&#x2713;' />
                    <input name='authenticity_token' type='hidden' value={this.props.authenticity_token} />
                    <input name='task_id' type='hidden' value={this.props.task_id} />
                  </div>
                }
                {items}
              </form>
              <div>
                {validationList}
              </div>
            </div>
          </div>
        )

Can anyone please help me with this?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda