Breadcrumbs: Tweak padding so they remain equally spaced (#93284)

tweak breadcrumb padding so it's equally spaced
This commit is contained in:
Ashley Harrison 2024-09-12 17:24:52 +01:00 committed by GitHub
parent e6f359f90b
commit 0a976f831c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,9 +71,10 @@ const getStyles = (theme: GrafanaTheme2) => {
color: theme.colors.text.primary,
display: 'flex',
flex: 1,
gap: theme.spacing(0.5),
minWidth: 0,
maxWidth: 'max-content',
padding: theme.spacing(0.5, 0.5),
padding: theme.spacing(0.5, 0, 0.5, 0.5),
// logic for small screens
// hide any breadcrumbs that aren't the second to last child (the parent)