Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
3f35aee
1
Parent(s):
e704337
new sizes
Browse files
ui/src/app/jobs/new/SimplifiedJob.tsx
CHANGED
|
@@ -461,6 +461,8 @@ export default function SimplifiedJob({
|
|
| 461 |
|
| 462 |
return (
|
| 463 |
<form onSubmit={handleSubmit} className="space-y-8">
|
|
|
|
|
|
|
| 464 |
<Card title="Training Setup">
|
| 465 |
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 466 |
<TextInput
|
|
|
|
| 461 |
|
| 462 |
return (
|
| 463 |
<form onSubmit={handleSubmit} className="space-y-8">
|
| 464 |
+
<h2 className="text-lg font-semibold text-gray-100">Start training</h2>
|
| 465 |
+
|
| 466 |
<Card title="Training Setup">
|
| 467 |
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 468 |
<TextInput
|
ui/src/app/jobs/new/page.tsx
CHANGED
|
@@ -250,7 +250,7 @@ export default function TrainingForm() {
|
|
| 250 |
</div>
|
| 251 |
</TopBar>
|
| 252 |
{isAuthenticated && (
|
| 253 |
-
<div className="bg-gray-900/70 border-b border-gray-700 pt-
|
| 254 |
<div className="flex justify-center gap-4 px-6 py-3">
|
| 255 |
{(
|
| 256 |
[
|
|
|
|
| 250 |
</div>
|
| 251 |
</TopBar>
|
| 252 |
{isAuthenticated && (
|
| 253 |
+
<div className="bg-gray-900/70 border-b border-gray-700 pt-12">
|
| 254 |
<div className="flex justify-center gap-4 px-6 py-3">
|
| 255 |
{(
|
| 256 |
[
|
ui/src/components/layout.tsx
CHANGED
|
@@ -20,7 +20,7 @@ export const TopBar: React.FC<Props> = ({ children, className }) => {
|
|
| 20 |
|
| 21 |
export const MainContent: React.FC<Props> = ({ children, className }) => {
|
| 22 |
return (
|
| 23 |
-
<div className={classNames('pt-
|
| 24 |
{children ? children : null}
|
| 25 |
</div>
|
| 26 |
);
|
|
|
|
| 20 |
|
| 21 |
export const MainContent: React.FC<Props> = ({ children, className }) => {
|
| 22 |
return (
|
| 23 |
+
<div className={classNames('pt-32 px-4 absolute top-0 left-0 w-full h-full overflow-auto', className)}>
|
| 24 |
{children ? children : null}
|
| 25 |
</div>
|
| 26 |
);
|