From c7f8c2a7e180a2e45076b21280c96b4a16a3600a Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Fri, 22 Jul 2022 11:44:00 +0300 Subject: [PATCH] LoginLayout: Remove hardcoded background-color (#52505) --- public/app/core/components/Login/LoginLayout.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/app/core/components/Login/LoginLayout.tsx b/public/app/core/components/Login/LoginLayout.tsx index 5380f7b49c7..56cbfdf758e 100644 --- a/public/app/core/components/Login/LoginLayout.tsx +++ b/public/app/core/components/Login/LoginLayout.tsx @@ -51,14 +51,11 @@ to{ }`; export const getLoginStyles = (theme: GrafanaTheme2) => { - const bgColor = theme.isDark ? '#000' : theme.colors.background.canvas; - return { container: css({ minHeight: '100%', backgroundPosition: 'center', backgroundRepeat: 'no-repeat', - backgroundColor: bgColor, minWidth: '100%', marginLeft: 0, display: 'flex',