Skip to content

Commit fa82fbc

Browse files
committed
fix: apply font-mono to code-content textareas
CodeRabbit flagged on #72 that two textareas hold code-like content: - script-command in ProjectScriptsControl.tsx - commit-message dialog in GitActionsControl.tsx After narrowing the global `textarea` monospace rule, both would have rendered in DM Sans. Add explicit `className="font-mono"` so they keep the Geist Mono readability regardless of the global rule.
1 parent bc814b2 commit fa82fbc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

apps/web/src/components/GitActionsControl.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,6 +1121,7 @@ export default function GitActionsControl({
11211121
<div className="space-y-1">
11221122
<p className="text-xs font-medium">Commit message (optional)</p>
11231123
<Textarea
1124+
className="font-mono"
11241125
value={dialogCommitMessage}
11251126
onChange={(event) => setDialogCommitMessage(event.target.value)}
11261127
placeholder="Leave empty to auto-generate"

apps/web/src/components/ProjectScriptsControl.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ export default function ProjectScriptsControl({
448448
<Label htmlFor="script-command">Command</Label>
449449
<Textarea
450450
id="script-command"
451+
className="font-mono"
451452
placeholder="bun test"
452453
value={command}
453454
onChange={(event) => setCommand(event.target.value)}

0 commit comments

Comments
 (0)