mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Desktop: Fixed scrolling issue when clicking on anchor
This commit is contained in:
parent
204365b2ae
commit
fc67a44f95
@ -376,14 +376,14 @@ class MainScreenComponent extends React.Component {
|
|||||||
backgroundColor: theme.warningBackgroundColor,
|
backgroundColor: theme.warningBackgroundColor,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const rowHeight = height - theme.headerHeight - (messageBoxVisible ? this.styles_.messageBox.height : 0);
|
||||||
|
|
||||||
this.styles_.verticalResizer = {
|
this.styles_.verticalResizer = {
|
||||||
width: 5,
|
width: 5,
|
||||||
height: height,
|
height: rowHeight,
|
||||||
display: 'inline-block',
|
display: 'inline-block',
|
||||||
};
|
};
|
||||||
|
|
||||||
const rowHeight = height - theme.headerHeight - (messageBoxVisible ? this.styles_.messageBox.height : 0);
|
|
||||||
|
|
||||||
this.styles_.sideBar = {
|
this.styles_.sideBar = {
|
||||||
width: sidebarWidth - this.styles_.verticalResizer.width,
|
width: sidebarWidth - this.styles_.verticalResizer.width,
|
||||||
height: rowHeight,
|
height: rowHeight,
|
||||||
|
Loading…
Reference in New Issue
Block a user