From fc67a44f95656c4e7687091c17fdf78f48008c88 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 30 Dec 2019 13:00:53 +0100 Subject: [PATCH] Desktop: Fixed scrolling issue when clicking on anchor --- ElectronClient/app/gui/MainScreen.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElectronClient/app/gui/MainScreen.jsx b/ElectronClient/app/gui/MainScreen.jsx index 667997a7c3..fba6569048 100644 --- a/ElectronClient/app/gui/MainScreen.jsx +++ b/ElectronClient/app/gui/MainScreen.jsx @@ -376,14 +376,14 @@ class MainScreenComponent extends React.Component { backgroundColor: theme.warningBackgroundColor, }; + const rowHeight = height - theme.headerHeight - (messageBoxVisible ? this.styles_.messageBox.height : 0); + this.styles_.verticalResizer = { width: 5, - height: height, + height: rowHeight, display: 'inline-block', }; - const rowHeight = height - theme.headerHeight - (messageBoxVisible ? this.styles_.messageBox.height : 0); - this.styles_.sideBar = { width: sidebarWidth - this.styles_.verticalResizer.width, height: rowHeight,