PageToolbar: add bottom padding (#34602)

* fix(pagetoolbar): pad elements top and bottom to keep vertical align and wrapper padding

* fix(sidemenu): prevent mobile sidemenu squashing dashboard, vertically align mobile sidemenu icon

* fix(dashboardsettings): prevent subheader overlap

* fix(pagetoolbar): center align all toolbar elements vertically

* refactor(pagetoolbar): combine vertical paddings to bring back original padding values

* refactor: update padding values for components that use PageToolbar

* fix(playlists): update Empty cta link route to prevent 404

* test(dashboard): update snapshot
This commit is contained in:
Jack Westbrook
2021-05-26 10:49:39 +02:00
committed by GitHub
parent 987bffe482
commit ad3b0b2272
10 changed files with 61 additions and 85 deletions

View File

@@ -151,7 +151,7 @@ const getStyles = (theme: GrafanaTheme2) => {
background: ${theme.colors.background.primary};
border: 1px solid ${theme.colors.border.weak};
border-radius: ${theme.shape.borderRadius()};
margin: ${theme.spacing(2)};
margin: ${theme.spacing(0, 2, 2)};
overflow: hidden;
flex: 1;
`,