Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Train fix (#7428): logical text alignment in the model scope

milind-soni23c39f0ed33e
diff --git a/src/components/ModelPicker.tsx b/src/components/ModelPicker.tsx
index 795c045539..6f7d513815 100644
--- a/src/components/ModelPicker.tsx
+++ b/src/components/ModelPicker.tsx
@@ -684,7 +684,7 @@ export function ModelPicker({
<div role="group" aria-label={t("model.scope.label")} className="flex flex-col gap-1">
{(["thread", "bot"] as const).map((value) => (
<button key={value} type="button" aria-pressed={scope === value} onClick={() => setScope(value)}
- className={cn("w-full rounded-lg px-2.5 py-1.5 text-left text-[12px] leading-snug",
+ className={cn("w-full rounded-lg px-2.5 py-1.5 text-start text-[12px] leading-snug",
scope === value ? "bg-ink/[0.08] font-medium text-ink" : "text-ink-secondary hover:bg-ink/[0.06] hover:text-ink")}>
{value === "bot" ? t("model.scope.bot") : t("model.scope.thread")}
</button>