Skip to content

Commit 53a563c

Browse files
sjha4claude
andcommitted
Fixes #39593 - Restore background color for Rails-rendered pages
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e0e1a54 commit 53a563c

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

app/assets/stylesheets/base-pf4.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ body {
2121
font-weight: var(--pf-v5-global--FontWeight--normal);
2222
line-height: var(--pf-v5-global--LineHeight--md);
2323
text-align: left;
24+
--pf-v5-c-page--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
2425
}
2526

2627
a {

webpack/assets/javascripts/react_app/components/Layout/layout.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@
103103
}
104104
}
105105

106-
#foreman-page {
107-
--pf-v5-c-page--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
108-
}
109-
110106
#foreman-page .pf-v5-c-masthead {
111107
background-repeat: no-repeat;
112108
background-size: cover;

0 commit comments

Comments
 (0)