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

119
Vistas
How to avoid the TextArea component taking full width and inputs breaking on small screen?

My problem is that when I downsize the screen the inputs break the div encapsulation and I don't know why. I know I committed a big mistake that is not starting for mobile first, but you know, confidence mistakes. Every answer would be appreciated.

Here is the image:
enter image description here

And here is the code:

function PersonalDataCard() {
    return(
        
        return(
        
        <Row
        justifyContent="space-between"
        width="80%"
        border="1px solid black"
        marginTop="5em"
        >
        <VStack
        gap="1em"
        width="20em"
        justifyContent="flex-start"
        alignItems="center"

        >
        <Text
        textAlign='left'
        fontSize="1.5rem"
        fontWeight='500'
        >Personal Data
        </Text>
        <Text
        textAlign='left'
        fontSize="1rem"
        fontWeight='500'
        >General
        </Text>
        <Text>First name*</Text>
        <Input
        placeholder="Adam"
        />
        <Text>Last name*</Text>
        <Input
        placeholder="Nowotny"
        />
        <Text>Nickname*</Text>
        <Input
        placeholder="adam.nowotny"
        />
        <Text>Email*</Text>
        <Input
        placeholder="adamnowontky@gmail.com"
        />
        <Text>Password*</Text>
        <Input
        type="password"
        placeholder="whatever"
        />
        
        <Text>Biographical information*</Text>
        <TextArea
        placeholder="adam.nowotny"
        back
        />

export default PersonalDataCard;

The code is exactly the same for the other Column all width are defined in ems except for the VStack (div: display:'flex', flex-direction:'column') which got a 80% width.

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