From 1e6b9aaca514d2d425bcb144c52d87ba24dd2e66 Mon Sep 17 00:00:00 2001 From: Michael Han <107991372+shimmyshimmer@users.noreply.github.com> Date: Wed, 22 Jul 2026 07:57:14 -0700 Subject: [PATCH 001/184] Fix UI font size scaling --- studio/frontend/package-lock.json | 1 + studio/frontend/package.json | 1 + .../src/components/shutdown-dialog.tsx | 4 +- .../stores/appearance-custom-store.ts | 7 +- .../sections/charts/eval-loss-chart-card.tsx | 9 +-- .../sections/charts/grad-norm-chart-card.tsx | 7 +- .../charts/learning-rate-chart-card.tsx | 5 +- .../charts/training-loss-chart-card.tsx | 9 +-- .../features/studio/sections/charts/utils.ts | 1 + .../studio/sections/training-section.tsx | 4 +- studio/frontend/src/index.css | 5 ++ studio/frontend/vite.config.ts | 72 ++++++++++++++++++- 12 files changed, 104 insertions(+), 21 deletions(-) diff --git a/studio/frontend/package-lock.json b/studio/frontend/package-lock.json index 1d5c09ba72..b1b861840c 100644 --- a/studio/frontend/package-lock.json +++ b/studio/frontend/package-lock.json @@ -85,6 +85,7 @@ "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.5.2", "globals": "^17.4.0", + "postcss": "^8.5.15", "typescript": "~5.9.3", "typescript-eslint": "^8.55.0", "vite": "^8.0.16" diff --git a/studio/frontend/package.json b/studio/frontend/package.json index fc6911c4be..9846384133 100644 --- a/studio/frontend/package.json +++ b/studio/frontend/package.json @@ -104,6 +104,7 @@ "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.5.2", "globals": "^17.4.0", + "postcss": "^8.5.15", "typescript": "~5.9.3", "typescript-eslint": "^8.55.0", "vite": "^8.0.16" diff --git a/studio/frontend/src/components/shutdown-dialog.tsx b/studio/frontend/src/components/shutdown-dialog.tsx index e3e6ca9920..8f746c9414 100644 --- a/studio/frontend/src/components/shutdown-dialog.tsx +++ b/studio/frontend/src/components/shutdown-dialog.tsx @@ -52,8 +52,8 @@ export function ShutdownDialog({ onAfterShutdown?.(); document.body.innerHTML = `
Unsloth Studio has stopped.
-You can now close this tab.
+Unsloth Studio has stopped.
+You can now close this tab.
{helperText}
)} - {error &&{error}
} + {error && ( ++ {error} +
+ )}