Spookluted
KPCKevin Powell - Community
•Created by Spookluted on 5/2/2024 in #front-end
Flex-item not shrinking and causing overflow
Hello, I'm working on a simple UI for utility tool and I need bit a help with css, basically I got a div that lists all files inside a scripts folder, however the span item (so the file name) just doesn't shrink causing the whole container to overflow
Like this
https://mentally-insane.pixeluted.com/BOXe6/PELotUxU44.png
I'm using svelte for this project, so this is the code for the div
I don't know what code you need, but feel free to ask for more code and I will send it.
Also the main container is not overflowing https://mentally-insane.pixeluted.com/BOXe6/HaRiYaSa84.png
Just the container that contains the search button and the list of files (this overflow didnt start until I started implementing the files)
https://mentally-insane.pixeluted.com/BOXe6/HAjAjEhe20.png
Thanks for any help!
74 replies