Skip to content

Commit f367c44

Browse files
committed
fix: wrap feedback ticket id block
1 parent 41d9ac6 commit f367c44

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/FeedbackButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,15 @@ export function FeedbackButton() {
207207
<p className="text-sm text-muted-foreground">
208208
复制工单 ID,后续可以在用户中心查看处理状态。
209209
</p>
210-
<div className="flex min-w-0 flex-col items-stretch gap-2 rounded-lg border border-border bg-background px-3 py-2 sm:flex-row sm:items-center">
211-
<code className="min-w-0 break-all rounded bg-muted/50 px-2 py-1 font-mono text-xs text-foreground sm:flex-1 sm:truncate sm:bg-transparent sm:px-0 sm:py-0 sm:text-sm">
210+
<div className="grid min-w-0 max-w-full gap-2 rounded-lg border border-border bg-background px-3 py-2">
211+
<code className="block max-w-full whitespace-normal break-all rounded bg-muted/50 px-2 py-1 font-mono text-xs leading-relaxed text-foreground">
212212
{submittedTicket.feedbackId}
213213
</code>
214214
<Button
215215
type="button"
216216
size="sm"
217217
variant="outline"
218-
className="w-full shrink-0 sm:w-auto"
218+
className="w-full"
219219
onClick={handleCopyTicketId}
220220
>
221221
<Copy className="mr-2 h-4 w-4" />

0 commit comments

Comments
 (0)