I came across this issue: https://jsfiddle.net/w19hpqzx/
However, I'm aiming for a layout that resembles this: https://jsfiddle.net/4smwop2u/
Specifically, I'd like the yellow aside portion to stay visible on the screen and for the code block .code-toolbar
to have a scrollbar.
One solution is to set a fixed width like this:
.code-toolbar {
max-width: 300px;
overflow-x: auto;
}
However, I prefer the code block to take up 100% of the space regardless of the container size. Is there a way to achieve this?