I'm currently dealing with a flex container that shows a horizontal scrollbar once the number of flex items surpasses the viewport's available width.
Everything was working smoothly until I decided to add a pseudo element (down caret) to one of the items, which resulted in a vertical scrollbar appearing.
Predictably, applying overflow-y: hidden
to my container hides a portion of the pseudo element. My main question now is how can I prevent the appearance of a vertical scrollbar while independently setting the x-axis to 'auto'?