- /* this is a usable workaround to detect we're on Mac OS */
- #main-window[sizemode="normal"] > #titlebar {
- margin-top: 4px;
- margin-bottom: 0;
+ /* This is a usable workaround to detect we're on Mac OS X. */
+ #main-window[sizemode="normal"] > #titlebar,
+ #main-window[sizemode="maximized"] > #titlebar {
+ margin-top: 19px;
+ /* There is a margin-bottom set to -23 by code. */