From 5f73fd2f49df4449f96fc7a8327a78acf24861a4 Mon Sep 17 00:00:00 2001 From: Jiahao Lu Date: Thu, 24 May 2018 04:59:19 +0800 Subject: [PATCH] Adjust clickable region of control buttons (#3017) On Windows, the close button (rather than the border) is expected to be hit when someone clicks the top-right corner of the screen if a window is maximized. --- lib/components/header.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/components/header.js b/lib/components/header.js index 11ac77c2..db8b6ab2 100644 --- a/lib/components/header.js +++ b/lib/components/header.js @@ -228,6 +228,7 @@ export default class Header extends React.PureComponent { height: 34px; justify-content: space-between; position: fixed; + top: 0; right: 0; }