Fix issue where Patternfly background clashes with Keycloak one (#8422)

This commit is contained in:
Seán McGowan 2021-12-10 20:51:53 +00:00 committed by GitHub
parent 3c3c33038a
commit 38174212f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,10 @@
/* Patternfly CSS places a "bg-login.jpg" as the background on this ".login-pf" class.
This clashes with the "keycloak-bg.png' background defined on the body below.
Therefore the Patternfly background must be set to none. */
.login-pf {
background: none;
}
.login-pf body {
background: url("../img/keycloak-bg.png") no-repeat center center fixed;
background-size: cover;