Skip to content
Merged
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
4 changes: 2 additions & 2 deletions client/src/App.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#root {
width: 100%;
max-width: 100%;
margin: 0 auto;
padding: 2rem;
margin: 0;
padding: 0 1rem;
text-align: center;
}

Expand Down
1 change: 0 additions & 1 deletion client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ body {
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}

h1 {
Expand Down
10 changes: 5 additions & 5 deletions client/src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ export const MainPage = () => {
}

return (
<Layout style={{ minHeight: '100vh', background: '#242424' }}>
<Layout style={{ minHeight: '80vh', background: '#242424' }}>
<Header
style={{
background: 'transparent',
padding: '0 32px',
padding: '0 2rem',
position: 'relative',
minHeight: 100,
display: 'flex',
Expand Down Expand Up @@ -101,18 +101,18 @@ export const MainPage = () => {
</Col>
</Row>
</Header>
<Content style={{ maxWidth: '100%', margin: '0 auto', padding: '40px 16px 0 16px' }}>
<Content style={{ maxWidth: '100%', margin: '0 auto', padding: '3rem 1rem 0 1rem' }}>
<InferenceInterface
models={models}
tokenInfo={tokenData}
apiBasePath={config.apiBasePath}
/>
</Content>
<div style={{ width: '100%', textAlign: 'center', margin: '48px 0 24px 0' }}>
<div style={{ width: '100%', textAlign: 'center', margin: '1rem 0 1rem 0' }}>
<Button
icon={<LogoutOutlined />}
onClick={() => navigate('/logout')}
style={{ marginTop: 16 }}
style={{ marginTop: 0 }}
>
Logout
</Button>
Expand Down