Grid layout scrollbar margin/white space issue

Hi, I'm building a small interface that uses grid for layout, and it's supposed to handle folders with saved chats in them. My problem is that until a scrollbar appears, everything looks good, but once there's a scrollbar, the items (saved conversations in this example) start missing the margin on the right - or rather, the scrollbar appears inside their margin, making the interface look imbalanced/bad. I'd really appreciate any thoughts on how to solve this. Codepen: https://codepen.io/danaxo-the-looper/pen/xxoPYjg
Danalol
CodePen
xxoPYjg
...
1 Reply
ἔρως
ἔρως3mo ago
https://stackoverflow.com/a/78646587 <-- would something like this help?
Stack Overflow
Make scrollbar float over the page
I am rephrasing this post to make more sense: The background of my page has an image and I am trying to hide the track of the scrollbar. however, when I set the background color to transparent it l...
Want results from more Discord servers?
Add your server