Commit 87ba1b67 by Jack Westbrook Committed by GitHub

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
parent 5fcff1a4
......@@ -145,6 +145,7 @@ export class DashboardPage extends PureComponent<Props, State> {
this.setState({
viewPanel: panel,
rememberScrollTop: this.state.scrollTop,
updateScrollTop: 0,
});
});
}
......
......@@ -18,6 +18,7 @@
.dashboard-content {
padding: $dashboard-padding;
flex-basis: 100%;
flex-grow: 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment