feat: 发布 v0.3.0 移动端答题优化

This commit is contained in:
2026-06-23 00:51:32 +02:00
parent 89675a526f
commit 81a70137a9
11 changed files with 134 additions and 71 deletions
+3 -3
View File
@@ -41,7 +41,7 @@ export function ProfilePicker({ onChange }: ProfilePickerProps) {
};
return (
<div className="mb-6 flex flex-col gap-2 border bg-muted/30 p-3 sm:flex-row sm:items-center sm:justify-between">
<div className="mb-6 flex flex-col gap-3 border bg-muted/30 p-3 sm:flex-row sm:items-center sm:justify-between">
<div className="flex items-center gap-2 text-sm font-medium">
<UserRound className="h-4 w-4" />
@@ -49,7 +49,7 @@ export function ProfilePicker({ onChange }: ProfilePickerProps) {
<div className="flex items-center gap-2">
<select
aria-label="选择测评档案"
className="h-9 min-w-32 border bg-background px-3 text-sm"
className="h-11 min-w-32 border bg-background px-3 text-base md:h-9 md:text-sm"
value={active}
onChange={(event) => select(event.target.value)}
>
@@ -57,7 +57,7 @@ export function ProfilePicker({ onChange }: ProfilePickerProps) {
<option key={profile.id} value={profile.id}>{profile.name}</option>
))}
</select>
<Link href="/records" className="text-sm text-primary underline-offset-4 hover:underline">
<Link href="/records" className="flex min-h-11 items-center text-sm text-primary underline-offset-4 hover:underline md:min-h-9">
</Link>
</div>