Site URL: https://weareteller.com/sandbox
How do I turn a code block into a sticky item?
I'm using the following code and noticing it works with other block types, but not code blocks:
.code-block {
position: sticky;
position: -webkit-sticky;
top: 100px !important;
}
My guess has to do with how position: sticky handles content inside of wrappers, but I'm not sure.
I'd like the right side column (text inside a code block) to stick as a visitor scrolls down a page.