How to regain screen estate in dashboard view in 11.5

seems to be similar to How to minimize top bars in Grafana 11.5 except the screen estate in my case is occupied by something else.