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•6mo ago
overflow: auto; ?
Attxla
AttxlaOP•6mo ago
It makes a scrollbar?
No description
Mannix
Mannix•6mo 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
AttxlaOP•6mo ago
But then the cards' heights won't be even, and i don't really want that.
Mannix
Mannix•6mo ago
then style the scrollbar for that element
Attxla
AttxlaOP•6mo ago
There is a way to style a scrollbar?😅
Mannix
Mannix•6mo ago
yeah scrollbar-width: thin; scrollbar-color: color1 color2; for example
Attxla
AttxlaOP•6mo ago
That is really cool, thank you.
Mannix
Mannix•6mo ago
:thumbup:
Want results from more Discord servers?
Add your server