Skip to content

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

fix(bot-settings): the large instructions editor uses the field's own font in Simple mode

Absterrg0bff1358c8d89
diff --git a/src/components/SoulField.tsx b/src/components/SoulField.tsx
index 556ca76dbf..969ed21414 100644
--- a/src/components/SoulField.tsx
+++ b/src/components/SoulField.tsx
@@ -134,7 +134,7 @@ export function SoulField({
{large && (
<Layer modal>
<SoulLargeDialog title={label} byteCount={byteCount} onClose={() => setLarge(false)}>
- {editor("min-h-0 flex-1 resize-none font-mono text-[14px] leading-relaxed")}
+ {editor(cn("min-h-0 flex-1 resize-none leading-relaxed", simple ? "rounded-xl text-[14px]" : "font-mono"))}
</SoulLargeDialog>
</Layer>
)}