When scrollbar appears, it pushes all content to left. How to instead make scrollbar appear to right of existing container?

Viewed 29

This is for a Chrome Extension I'm working on.

The scrollbar isn't coded into the HTML/CSS/Javascript anywhere in its present form. When enough elements get added to the Extension memory, and a button is clicked to reveal a user's saved items, the default browser scrollbar simply appears there.

When it does appear, it pushes all previously visible content left, shifting it all from its previous position, and it's pretty visually clunky and unattractive.

How could I instead make this scrollbar appear to the right of the pop-up div container -- with everything inside of there remaining in their original position?

Thanks!

0 Answers
Related