Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 82d91be

Browse files
Merge pull request #1024 from mindreeper2420/issue-1019
fix(login): fix login-pf class location
2 parents d28acf6 + 5b2eab8 commit 82d91be

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

src/less/login.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
.login-pf {
66
height: 100%;
7+
background: @login-bg-color url("@{img-path}/@{img-bg-login}") repeat-x 50% 0;
8+
background-size: auto;
9+
@media (min-width: @screen-sm-min) {
10+
background-size: 100% auto;
11+
}
712
#brand {
813
position: relative;
914
top: -70px;

src/sass/converted/patternfly/_login.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
.login-pf {
66
height: 100%;
7+
background: $login-bg-color url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-bg-login}"), "#{$img-path}#{$img-bg-login}")) repeat-x 50% 0;
8+
background-size: auto;
9+
@media (min-width: $screen-sm-min) {
10+
background-size: 100% auto;
11+
}
712
#brand {
813
position: relative;
914
top: -70px;

tests/pages/_layouts/login.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html>
22
<!--[if IE 9]><html lang="en-us" class="ie9 login-pf"><![endif]-->
33
<!--[if gt IE 9]><!-->
4-
<html lang="en-us" class="login-pf">
4+
<html lang="en-us">
55
<!--<![endif]-->
66
{% include head.html %}
7-
<body>
7+
<body class="login-pf">
88
{{ content }}
99
</body>
1010
</html>

0 commit comments

Comments
 (0)