Merge upstream v0.4.0 into Gitea fork
This commit is contained in:
@@ -4,6 +4,7 @@ import { useI18n } from "@/components/i18n";
|
||||
|
||||
import { useCallback } from "react";
|
||||
import { joinDictation, useDictationTarget } from "@/components/dictation";
|
||||
import { PathInput } from "@/components/path-input";
|
||||
|
||||
/**
|
||||
* The reading-thinking field (owner design 2026-10-03, "two questions per
|
||||
@@ -55,10 +56,11 @@ export function ReadingThinkingField({
|
||||
className="pointer-events-auto mb-2 rounded-2xl border bg-card/60 px-3 py-2 transition-colors focus-within:border-primary/50"
|
||||
>
|
||||
<div className="pb-1 text-xs font-medium uppercase tracking-wide text-muted-foreground">
|
||||
{t("Thinking while reading")}</div>
|
||||
<textarea
|
||||
{t("Thinking while reading")}
|
||||
</div>
|
||||
<PathInput
|
||||
value={value}
|
||||
onChange={(e) => onChange(e.target.value)}
|
||||
onValueChange={onChange}
|
||||
/* py-0.5 (owner round, 2026-10-07): the scrollbar fix. Source
|
||||
Sans 3's font box is 22px at 16px; lh-input's 1.25 leading
|
||||
gives a 20px line box — the content area sticks 1px below the
|
||||
@@ -97,7 +99,6 @@ export function ReadingThinkingField({
|
||||
}
|
||||
}}
|
||||
placeholder={t("Whatever comes to mind as you read.")}
|
||||
rows={1}
|
||||
className="field-sizing-content lh-input max-h-40 w-full resize-none bg-transparent py-0.5 outline-none placeholder:text-muted-foreground/70"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user