mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
LoginLayout: Remove hardcoded background-color (#52505)
This commit is contained in:
parent
5b275ca3f5
commit
c7f8c2a7e1
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user