https://blog.samalik.com/make-your-gnome-title-bar-smaller-fedora-24-update/
I wrote similar post before about making the massive title bar in Gnome smaller. But it doesn’t work anymore in Fedora 24! Don’t worry, I have created an update for you – so you can enjoy more space on your desktop again! gnome-window-title-barAll you need to do is to put the following css code into ~/.config/gtk-3.0/gtk.css
Also works for gnome 3.28 on ubuntu 18.04.2 LTS
window.ssd headerbar.titlebar {
padding-top: 4px;
padding-bottom: 4px;
min-height: 0;
}
window.ssd headerbar.titlebar button.titlebutton {
padding: 0px;
min-height: 0;
min-width: 0;
}