Logs: Fix border radius to be consistent (#64510)

pull/64519/head
Ivana Huckova 3 years ago committed by GitHub
parent 4b241804b4
commit 46ab9e9252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/logs/components/LogRowContext.tsx
  2. 2
      public/app/features/logs/components/getLogRowStyles.ts

@ -80,7 +80,7 @@ const getLogRowContextStyles = (theme: GrafanaTheme2, wrapLogMessage?: boolean,
background: ${theme.colors.background.primary}; background: ${theme.colors.background.primary};
box-shadow: 0 0 ${theme.spacing(1.25)} ${theme.v1.palette.black}; box-shadow: 0 0 ${theme.spacing(1.25)} ${theme.v1.palette.black};
border: 1px solid ${theme.colors.background.secondary}; border: 1px solid ${theme.colors.background.secondary};
border-radius: ${theme.shape.borderRadius(2)}; border-radius: ${theme.shape.borderRadius()};
font-family: ${theme.typography.fontFamily}; font-family: ${theme.typography.fontFamily};
`, `,
header: css` header: css`

@ -143,7 +143,7 @@ export const getLogRowStyles = memoizeOne((theme: GrafanaTheme2) => {
label: logs-row-details-table; label: logs-row-details-table;
border: 1px solid ${theme.colors.border.medium}; border: 1px solid ${theme.colors.border.medium};
padding: 0 ${theme.spacing(1)} ${theme.spacing(1)}; padding: 0 ${theme.spacing(1)} ${theme.spacing(1)};
border-radius: ${theme.shape.borderRadius(1.5)}; border-radius: ${theme.shape.borderRadius()};
margin: ${theme.spacing(2.5)} ${theme.spacing(1)} ${theme.spacing(2.5)} ${theme.spacing(2)}; margin: ${theme.spacing(2.5)} ${theme.spacing(1)} ${theme.spacing(2.5)} ${theme.spacing(2)};
cursor: default; cursor: default;
`, `,

Loading…
Cancel
Save