Hi! Very new to frontend, why does this happen?

I am building a website for my own business, but one of my card's text is overflowing. My first (and only) idea was to use display:flex and flex-wrap:wrap, but it did not solve my problem. Can someone help me?
No description
9 Replies
Mannix
Mannix•3mo ago
overflow: auto; ?
Attxla
Attxla•3mo ago
It makes a scrollbar?
No description
Mannix
Mannix•3mo ago
you are setting a fixed height. so you either make the text scrollable or you don't limit the size for the text
Attxla
Attxla•3mo ago
But then the cards' heights won't be even, and i don't really want that.
Mannix
Mannix•3mo ago
then style the scrollbar for that element
Attxla
Attxla•3mo ago
There is a way to style a scrollbar?😅
Mannix
Mannix•3mo ago
yeah scrollbar-width: thin; scrollbar-color: color1 color2; for example
Attxla
Attxla•3mo ago
That is really cool, thank you.
Mannix
Mannix•3mo ago
:thumbup:
Want results from more Discord servers?
Add your server