mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
PublicDashboards: Fix public dashboards when publicDashboardsScene
is enabled (#92187)
* fix public dashboards pages when publicDashboardsScene is enabled * properly handle react-grid-layout at small screen sizes * use unset instead of auto
This commit is contained in:
parent
a04d2f44f8
commit
e675455502
@ -20,6 +20,9 @@ export function getDashboardGridStyles(theme: GrafanaTheme2) {
|
||||
},
|
||||
|
||||
[theme.breakpoints.down('md')]: {
|
||||
'.react-grid-layout': {
|
||||
height: 'unset !important',
|
||||
},
|
||||
'.react-grid-item': {
|
||||
display: 'block !important',
|
||||
transitionProperty: 'none !important',
|
||||
|
@ -147,7 +147,9 @@ function getStyles(theme: GrafanaTheme2) {
|
||||
}),
|
||||
body: css({
|
||||
label: 'body',
|
||||
display: 'flex',
|
||||
flex: 1,
|
||||
flexDirection: 'column',
|
||||
overflowY: 'auto',
|
||||
}),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user