gabrieldev959
gabrieldev959
KPCKevin Powell - Community
Created by gabrieldev959 on 12/28/2023 in #back-end
How do I prevent my div from shrinking so much that it interferes with viewing the contents?
Hello, I'm carrying out a project and I would like to know how I can prevent the width of my div with id #consultory from decreasing so much, because this is disturbing its position in relation to the page and the visualization of the image and the writings inside it; i have tried to define, many different percentages for the width but the problem still happens. Is there any way to limit the width of this div so that it doesn't shrink so much, or is there another way to solve this problem? P.S: I added a gif with the problem happening and I created a sandbox with the codes, the sandbox is it: https://codesandbox.io/s/border-problem-46239x?file=/src/App.js if necessary i post the codes here, ok? Thanks for helping!
15 replies