LoginLayout: Remove hardcoded background-color (#52505)

This commit is contained in:
Alex Khomenko 2022-07-22 11:44:00 +03:00 committed by GitHub
parent 5b275ca3f5
commit c7f8c2a7e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',