fix(review): wrap editor actions on mobile

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
XiaoSeS 2026-09-02 00:50:23 +08:00
parent 03fb067887
commit 55e10303b2

View file

@ -136,9 +136,9 @@ function ReviewEditor({ skillId, review, onDone }: {
placeholder={t('skillReviews.placeholder')}
disabled={pending}
/>
<div className="flex items-center justify-between gap-3">
<div className="flex flex-wrap items-center justify-between gap-3">
<span className="text-xs text-muted-foreground">{reviewText.length}/2000</span>
<div className="flex gap-2">
<div className="ml-auto flex flex-wrap justify-end gap-2">
{review?.reviewed ? (
<Button variant="ghost" size="sm" onClick={handleDelete} disabled={pending}>
{t('skillReviews.delete')}