How to make scrollable container

Hi! Anyone know how I can make a scrollable container in a Discourse Post?

Here’s an example of what I mean:

This blog post consists of

  1. video
  2. blog post
  3. transcript of the video – in a scrollable container.

I’m looking to recreate that Container in my Discourse.
Can that be done?

Thanks!

This can be done in a theme component.

You would introduce the element in a DIV tag with a special data attribute and then add a CSS class for it.

@Johani can help guide you at specifics.

5 Likes

We now have a theme component that allows you to add scrollable sections

5 Likes