mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
Page: Remove bottom page margin (#65082)
* Remove page margin * Only remove bottom margin * revert other changes * revert another change
This commit is contained in:
parent
44beef2e41
commit
42be20cbf3
@ -104,6 +104,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
boxShadow: shadow,
|
||||
background: theme.colors.background.primary,
|
||||
flexDirection: 'column',
|
||||
borderBottom: `1px solid ${theme.colors.border.weak}`,
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
@ -131,17 +131,15 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
padding: theme.spacing(2),
|
||||
borderRadius: theme.shape.borderRadius(1),
|
||||
border: `1px solid ${theme.colors.border.weak}`,
|
||||
borderBottom: 'none',
|
||||
background: theme.colors.background.primary,
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
flexGrow: 1,
|
||||
margin: theme.spacing(0, 0, 0, 0),
|
||||
|
||||
[theme.breakpoints.up('sm')]: {
|
||||
margin: theme.spacing(0, 1, 1, 1),
|
||||
},
|
||||
[theme.breakpoints.up('md')]: {
|
||||
margin: theme.spacing(2, 2, 2, 1),
|
||||
margin: theme.spacing(2, 2, 0, 1),
|
||||
padding: theme.spacing(3),
|
||||
},
|
||||
}),
|
||||
|
@ -100,6 +100,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
flexDirection: 'column',
|
||||
padding: theme.spacing(2, 1, 2, 2),
|
||||
minWidth: '250px',
|
||||
|
||||
[theme.breakpoints.up('md')]: {
|
||||
padding: theme.spacing(4.5, 1, 2, 2),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user