mirror of https://github.com/laurent22/joplin.git
Desktop: Fixed scrolling issue when clicking on anchor
parent
204365b2ae
commit
fc67a44f95
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue