How to reduce the height of custom ruler

You can change the reference for your coordinates to something different than paper.

Maybe helpful: