Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

114
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!