Code block with horizontal scroll bar

What I’m trying to do

Hello, I am new to obsidian and I fairly new to MD editors. I used hackmd. io and I liked the horizontal scroll bar for long lines of code. My buddy told me about obsidian and he said that it has horizontal scroll bar-or at least it used to before the latest update. How do I add that functionality back into my workflow? From what I could find searching the community, there is some CSS code snippets that can be added but from the comments they do not look like normal scroll wheels or it messes up. I also am not sure where to add the CSS code so If anyone has the solution please let me know! Thanks a lot!

In the settings under the “Editor” tab you can turn off “Line wrap” to perform this.

Make sure “Readable line length” is also turned off