mirror of
https://github.com/grafana/grafana.git
synced 2024-12-29 10:21:41 -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')]: {
|
[theme.breakpoints.down('md')]: {
|
||||||
|
'.react-grid-layout': {
|
||||||
|
height: 'unset !important',
|
||||||
|
},
|
||||||
'.react-grid-item': {
|
'.react-grid-item': {
|
||||||
display: 'block !important',
|
display: 'block !important',
|
||||||
transitionProperty: 'none !important',
|
transitionProperty: 'none !important',
|
||||||
|
@ -147,7 +147,9 @@ function getStyles(theme: GrafanaTheme2) {
|
|||||||
}),
|
}),
|
||||||
body: css({
|
body: css({
|
||||||
label: 'body',
|
label: 'body',
|
||||||
|
display: 'flex',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
|
flexDirection: 'column',
|
||||||
overflowY: 'auto',
|
overflowY: 'auto',
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user