Scrollable aside

Hello, probably someone ask this already but i just couldn't find it, so i want the lyric box (on the right side) become scrollable instead of expanding to the bottom, so that the height is following the left box content
No description
3 Replies
MarkBoots
MarkBoots10mo ago
if you wrap the lyrics in another div, and give that wrapper a position: relative. then you can make .lyrics position absolute, with inset: 0 to match the available height and have overflow: auto. simple example https://codepen.io/MarkBoots/pen/jOoMGpG
Lagxy
LagxyOP10mo ago
thank you, solved

Did you find this page helpful?