Have a look at the overflow
property in Css.
If it is set to scroll the content is clipped if you provide the proper width.
An example css is shown below
div {
width: 100px;
height: 200px;
overflow: scroll;
}
Good luck!
solved How to add more items to the list without going to the next row? [closed]