Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

115
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda