Skip to content

Commit

Permalink
🐛 fix(dashboard): fix wobbling wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
thrownullexception committed Nov 8, 2023
1 parent 4ce9c4f commit 8173945
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 30 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { GuestHeader } from "./GuestHeader";
export { GuestFooter } from "./GuestFooter";
export { GuestContainer } from "./GuestContainer";
5 changes: 2 additions & 3 deletions src/frontend/design-system/layouts/GuestLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
SHADOW_CSS,
StyledCardBody,
} from "frontend/design-system/components/Card";
import { GuestFooter, GuestHeader, GuestContainer } from "./_partials";
import { GuestHeader, GuestContainer } from "./_partials";

export interface IProps {
children: ReactNode;
Expand Down Expand Up @@ -38,8 +38,7 @@ export function GuestLayout({
<GuestContainer>
<Root>
<GuestHeader title={title} subTitle={subTitle} {...appDetails} />
<StyledCardBody radiusLess>{children}</StyledCardBody>
<GuestFooter name={appDetails.name} />
<StyledCardBody>{children}</StyledCardBody>
</Root>
</GuestContainer>
);
Expand Down
1 change: 1 addition & 0 deletions src/frontend/views/Dashboard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { WidgetSizes } from "shared/types/dashboard/types";
import styled, { css } from "styled-components";

export const gridRoot = css`
width: 97%;
user-select: none;
display: grid;
grid-gap: 16px;
Expand Down

0 comments on commit 8173945

Please sign in to comment.