Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove background fix #594

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/components/app-content-renderer/styles/panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
@import '~@patternfly/patternfly/sass-utilities/_all';

.land-c-page-content {
height: 100%;

.land-l-first-panel {
background: url(https://console.redhat.com/apps/frontend-assets/console-landing/estate_section_banner.png);
background-size: cover !important;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Landing = () => {
(isBeta() && useFlag('platform.landing-page.widgetization')) ||
(!isBeta() && useFlag('platform.landing-page.widgetization-stable'));
return (
<div className="land-c-page-content pf-v5-u-background-color-200 pf-v5-u-display-flex pf-v5-u-flex-direction-column">
<div className="land-c-page-content pf-v5-u-display-flex pf-v5-u-flex-direction-column">
<Fragment>
{widgetLayoutLandingPageEnabled ? null : <FirstPanel />}
{widgetLayoutLandingPageEnabled ? null : <SecondPanel />}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/__tests__/__snapshots__/Landing.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`<Landing/> should render correctly 1`] = `
<div>
<div
class="land-c-page-content pf-v5-u-background-color-200 pf-v5-u-display-flex pf-v5-u-flex-direction-column"
class="land-c-page-content pf-v5-u-display-flex pf-v5-u-flex-direction-column"
>
<section
class="pf-v5-c-page__main-section pf-m-no-fill land-l-first-panel pf-v5-u-px-xl pf-v5-u-pt-lg pf-v5-u-pb-xl"
Expand Down