Abhay Parashar
Apr 19, 2021

--

if your code is too small then this is going to happen. You should try having larger font and line space to avoid padding.

In case if your code is enough to have scroll and still getting some extra padding then you can change it to 0 in setting option of carbon.

Hope it helps 😃

--

--

Abhay Parashar

Cyber Guy 🧑‍💻| Top Writer | 5M+ Views | Engineer | Learning and Sharing Knowledge Everyday | Python is ❤️| Editor of The Pythoneers