AlexTorresDev / custom-electron-titlebar

Custom electon title bar inpire on VS Code title bar
MIT License
866 stars 148 forks source link

Remove extra space between titlebar and container (macOS 12.1) #170

Closed 4gray closed 2 years ago

4gray commented 2 years ago

This PR removes the extra space (titlebar height is 22px and not 28px) between the titlebar and the application container that appears when the library is used on macOS 12.1 (IS_MAC_BIGSUR_OR_LATER = true).

custom-titlebar-css-pr

PS: Changed the background color of the cet-container in the screenshot for a better demonstration.