mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
css tweaks for landing page as a PageLayout
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
6193e7aacb
commit
28da6330bb
@ -1,6 +1,4 @@
|
|||||||
.LandingPage {
|
.PageLayout.LandingPage {
|
||||||
width: 100%;
|
--width: 80%;
|
||||||
height: 100%;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
z-index: 0;
|
|
||||||
}
|
}
|
||||||
@ -4,6 +4,7 @@ import { observer } from "mobx-react";
|
|||||||
import { Workspace, workspaceStore } from "../../../common/workspace-store";
|
import { Workspace, workspaceStore } from "../../../common/workspace-store";
|
||||||
import { WorkspaceOverview } from "./workspace-overview";
|
import { WorkspaceOverview } from "./workspace-overview";
|
||||||
import { PageLayout } from "../layout/page-layout";
|
import { PageLayout } from "../layout/page-layout";
|
||||||
|
|
||||||
@observer
|
@observer
|
||||||
export class LandingPage extends React.Component {
|
export class LandingPage extends React.Component {
|
||||||
|
|
||||||
@ -15,7 +16,7 @@ export class LandingPage extends React.Component {
|
|||||||
const header = <h2>Workspace: {this.workspace.name}</h2>;
|
const header = <h2>Workspace: {this.workspace.name}</h2>;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageLayout className="LandingPage" header={header} provideBackButtonNavigation={false}>
|
<PageLayout className="LandingPage flex column gaps" header={header} provideBackButtonNavigation={false} contentGaps={false}>
|
||||||
<WorkspaceOverview workspace={this.workspace}/>
|
<WorkspaceOverview workspace={this.workspace}/>
|
||||||
</PageLayout>
|
</PageLayout>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user