Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
d4fd92f
1
Parent(s):
3947e91
apply sizing fixes
Browse files
ui/src/app/dashboard/page.tsx
CHANGED
|
@@ -178,8 +178,7 @@ export default function Dashboard() {
|
|
| 178 |
className="mt-3 max-w-sm rounded border border-gray-800"
|
| 179 |
/>
|
| 180 |
</li>
|
| 181 |
-
<li
|
| 182 |
-
<span>Sign in with Hugging Face to create and track your jobs.</span>
|
| 183 |
<HFLoginButton size="md" />
|
| 184 |
</li>
|
| 185 |
</ol>
|
|
|
|
| 178 |
className="mt-3 max-w-sm rounded border border-gray-800"
|
| 179 |
/>
|
| 180 |
</li>
|
| 181 |
+
<li>
|
|
|
|
| 182 |
<HFLoginButton size="md" />
|
| 183 |
</li>
|
| 184 |
</ol>
|
ui/src/components/layout.tsx
CHANGED
|
@@ -9,7 +9,7 @@ export const TopBar: React.FC<Props> = ({ children, className }) => {
|
|
| 9 |
return (
|
| 10 |
<div
|
| 11 |
className={classNames(
|
| 12 |
-
'absolute top-0 left-0 w-full h-12
|
| 13 |
className,
|
| 14 |
)}
|
| 15 |
>
|
|
@@ -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 |
);
|
|
|
|
| 9 |
return (
|
| 10 |
<div
|
| 11 |
className={classNames(
|
| 12 |
+
'absolute top-0 left-0 w-full h-12 bg-gray-900 shadow-sm z-20 flex items-center px-2',
|
| 13 |
className,
|
| 14 |
)}
|
| 15 |
>
|
|
|
|
| 20 |
|
| 21 |
export const MainContent: React.FC<Props> = ({ children, className }) => {
|
| 22 |
return (
|
| 23 |
+
<div className={classNames('pt-20 px-4 absolute top-0 left-0 w-full h-full overflow-auto', className)}>
|
| 24 |
{children ? children : null}
|
| 25 |
</div>
|
| 26 |
);
|