From e7c5a95a7e516f2e22cbcb5125a0fa6256de9609 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 14 Nov 2017 14:33:32 -0600 Subject: [PATCH] Remove the win32 titlebar on non-windows (close #747) --- app/stylesheets/shell-window/win32-titlebar.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/stylesheets/shell-window/win32-titlebar.less b/app/stylesheets/shell-window/win32-titlebar.less index e87543fa18..450b0bda01 100644 --- a/app/stylesheets/shell-window/win32-titlebar.less +++ b/app/stylesheets/shell-window/win32-titlebar.less @@ -1,11 +1,11 @@ #win32-titlebar { + display: none; position: fixed; z-index: 10000; top: 0; right: 0; width: 150px; height: 36px; - display: flex; -webkit-app-region: no-drag; .win32-titlebar-btn { @@ -58,4 +58,7 @@ line-height: 36px; } } +} +body.win32 #win32-titlebar { + display: flex; } \ No newline at end of file