From 6cbc956b5cfad6a2eb47fca02d136a63c5ff138b Mon Sep 17 00:00:00 2001 From: Sven Grossmann Date: Fri, 10 Mar 2023 09:58:29 +0100 Subject: [PATCH] LogContext: Fix border radius to be consistent (#64589) fix border radius in LogRowContext --- public/app/features/logs/components/LogRowContext.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/logs/components/LogRowContext.tsx b/public/app/features/logs/components/LogRowContext.tsx index 66eb5b60670..cbb683455cf 100644 --- a/public/app/features/logs/components/LogRowContext.tsx +++ b/public/app/features/logs/components/LogRowContext.tsx @@ -98,7 +98,7 @@ const getLogRowContextStyles = (theme: GrafanaTheme2, wrapLogMessage?: boolean, background: ${theme.colors.background.canvas}; `, top: css` - border-radius: 0 0 ${theme.shape.borderRadius(2)} ${theme.shape.borderRadius(2)}; + border-radius: 0 0 ${theme.shape.borderRadius()} ${theme.shape.borderRadius()}; box-shadow: 0 0 ${theme.spacing(1.25)} ${theme.v1.palette.black}; clip-path: inset(0px -${theme.spacing(1.25)} -${theme.spacing(1.25)} -${theme.spacing(1.25)}); `, @@ -110,7 +110,7 @@ const getLogRowContextStyles = (theme: GrafanaTheme2, wrapLogMessage?: boolean, height: ${headerHeight}px; background: ${theme.colors.background.secondary}; border: 1px solid ${theme.colors.background.secondary}; - border-radius: ${theme.shape.borderRadius(2)} ${theme.shape.borderRadius(2)} 0 0; + border-radius: ${theme.shape.borderRadius()} ${theme.shape.borderRadius()} 0 0; box-shadow: 0 0 ${theme.spacing(1.25)} ${theme.v1.palette.black}; clip-path: inset(-${theme.spacing(1.25)} -${theme.spacing(1.25)} 0px -${theme.spacing(1.25)}); font-family: ${theme.typography.fontFamily};