i create one flex container view ,it contant two flex container ,when it turn to a small view ,the scroll bar will in ,hwo do i remove the scroll bar from flex container

i create one flex container view ,it contant two flex container ,when it turn to a small view ,the scroll bar will in ,hwo do i remove the scroll bar from flex container
Can set the flex container props overflow to hidden rather than auto, then it shouldn't appear.
Probably should then use a breakpoint container, when it gets small enough use the small breakpoint and redesign the stuff you want to show on there. Otherwise your text etc. might start looking bad
thanks,i will try to use the breakPoint contanier