diff --git a/public/app/features/datasources/components/picker/DataSourceCard.tsx b/public/app/features/datasources/components/picker/DataSourceCard.tsx index 2e4c5ddc799..8c365909ab3 100644 --- a/public/app/features/datasources/components/picker/DataSourceCard.tsx +++ b/public/app/features/datasources/components/picker/DataSourceCard.tsx @@ -17,13 +17,13 @@ export function DataSourceCard({ ds, onClick, selected }: DataSourceCardProps) {
- {ds.name} - | - {ds.meta.name} + {ds.name} + | + {ds.meta.name}
- - {`${ds.meta.name} + + {`${ds.meta.name} {ds.isDefault ? : null}
@@ -57,15 +57,19 @@ function getStyles(theme: GrafanaTheme2) { text-overflow: ellipsis; white-space: nowrap; `, - dsName: css` + logo: css` + width: 32px; + height: 32px; + `, + name: css` color: ${theme.colors.text.primary}; `, - dsType: css` + type: css` overflow: hidden; text-overflow: ellipsis; white-space: nowrap; `, - headingSeparator: css` + separator: css` margin: 0 ${theme.spacing(1)}; color: ${theme.colors.border.weak}; `,