Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

minor change to progress bar style (#213)

Akshay Agrawal45bfdd0da9aa
diff --git a/frontend/src/plugins/layout/ProgressPlugin.tsx b/frontend/src/plugins/layout/ProgressPlugin.tsx
index c4202538a9..521ce6b046 100644
--- a/frontend/src/plugins/layout/ProgressPlugin.tsx
+++ b/frontend/src/plugins/layout/ProgressPlugin.tsx
@@ -48,10 +48,12 @@ export const ProgressComponent = ({
progress,
total,
}: PropsWithChildren<Data>): JSX.Element => {
+ const alignment =
+ typeof progress === "number" ? "items-start" : "items-center";
return (
- <div className="flex flex-col items-center max-w-sm p-6 mx-auto space-y-4">
+ <div className={`flex flex-col ${alignment} max-w-sm p-6 mx-auto`}>
{title && (
- <div className="text-2xl font-bold text-foreground/60">
+ <div className="text-lg font-bold text-foreground/60">
{renderHTML({ html: title })}
</div>
)}