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.

style: radio button (#1864)

Akshay Agrawal94957ba9aff4
diff --git a/frontend/src/plugins/impl/RadioPlugin.tsx b/frontend/src/plugins/impl/RadioPlugin.tsx
index f5ff1e0412..5be43127c0 100644
--- a/frontend/src/plugins/impl/RadioPlugin.tsx
+++ b/frontend/src/plugins/impl/RadioPlugin.tsx
@@ -1,5 +1,4 @@
/* Copyright 2024 Marimo. All rights reserved. */
-import clsx from "clsx";
import { useId } from "react";
import { z } from "zod";
@@ -63,10 +62,7 @@ export const Radio = (props: RadioProps): JSX.Element => {
<RadioGroupItem value={option} id={`${id}-${i.toString()}`} />
<Label
htmlFor={`${id}-${i.toString()}`}
- className={clsx(
- "text-md",
- option === props.value ? "font-semibold" : "",
- )}
+ className="text-sm font-normal"
>
{option}
</Label>