mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
5fcff1a4c7
commit
87ba1b67b7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user