Dashboard: fix view panel mode for Safari / iOS (#28702)

* fix(dashboard): flex-basis so child height percentages are respected

* fix(dashboard): reset scrollTop when entering view panel mode
This commit is contained in:
Jack Westbrook 2020-11-02 16:52:41 +01:00 committed by GitHub
parent 5fcff1a4c7
commit 87ba1b67b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ export class DashboardPage extends PureComponent<Props, State> {
this.setState({
viewPanel: panel,
rememberScrollTop: this.state.scrollTop,
updateScrollTop: 0,
});
});
}

View File

@ -18,6 +18,7 @@
.dashboard-content {
padding: $dashboard-padding;
flex-basis: 100%;
flex-grow: 1;
}