Skip to content

Commit a2f3d4e

Browse files
committed
fix: page layouts
Signed-off-by: Adam Setch <[email protected]>
1 parent cd83ed9 commit a2f3d4e

14 files changed

+38
-34
lines changed

src/renderer/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const App = () => {
4747
<BaseStyles>
4848
<AppProvider>
4949
<Router>
50-
<div className="flex h-full overflow-x-hidden overflow-y-auto flex-col pl-10 bg-gitify-background">
50+
<div className="flex h-screen overflow-x-hidden overflow-y-auto flex-col pl-10 bg-gitify-background">
5151
<Loading />
5252
<Sidebar />
5353
<Routes>

src/renderer/components/__snapshots__/AllRead.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/__snapshots__/Oops.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/layout/Centered.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const Centered: FC<ICentered> = ({
1616
align="center"
1717
justify="center"
1818
padding="spacious"
19-
className={fullHeight && 'min-h-screen'}
19+
className={fullHeight && 'h-full'}
2020
>
2121
{props.children}
2222
</Stack>

src/renderer/components/layout/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface IPage {
77

88
export const Page: FC<IPage> = (props: IPage) => {
99
return (
10-
<div className="flex flex-col h-screen" data-testid={props.id}>
10+
<div className="flex flex-col h-full" data-testid={props.id}>
1111
{props.children}
1212
</div>
1313
);

src/renderer/components/layout/__snapshots__/Centered.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/layout/__snapshots__/EmojiSplash.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/layout/__snapshots__/Page.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/routes/LoginWithOAuthApp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const LoginWithOAuthAppRoute: FC = () => {
6767

6868
return (
6969
<Page id="Login With OAuth App">
70-
<form onSubmit={handleSubmit}>
70+
<form onSubmit={handleSubmit} className="-mt-5">
7171
<FieldInput
7272
name="hostname"
7373
label="Hostname"

src/renderer/routes/__snapshots__/Filters.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)