Navigation of Jupyter Lab vanishes after inserting code

Hey there!
I was trying out all kinds of code in a jupyter notebook using juypter lab. Suddenly the code started affecting the navigation outside the notebook making the characters bigger and as I was trying to close the notebook the entire navigation vanished.

What is happening here? Can anyone help me?