From 7b2312637925cfdcdcfab5b4c84788fe09f4496b Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 20 Aug 2020 21:40:52 -0400 Subject: [PATCH] fix side navigation on mac mac has an extra header height to handle the top level menu buttons --- ui/component/sideNavigation/view.jsx | 16 +++++++++++++--- ui/scss/component/_navigation.scss | 10 +++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index 227857ad5..c55f74355 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -6,6 +6,7 @@ import React from 'react'; import Button from 'component/button'; import classnames from 'classnames'; import NotificationBubble from 'component/notificationBubble'; +import { IS_MAC } from 'component/app/view'; const ESCAPE_KEY_CODE = 27; const BACKSLASH_KEY_CODE = 220; @@ -241,7 +242,7 @@ function SideNavigation(props: Props) { })} > {!isOnFilePage && ( -