1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Fixed scrolling issue when clicking on anchor

This commit is contained in:
Laurent Cozic 2019-12-30 13:00:53 +01:00
parent 204365b2ae
commit fc67a44f95

View File

@ -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,