feat: Einlösen und Bearbeiten einheitlich groß auf der Detailseite
This commit is contained in:
1 parent
5b9e570117
commit
fc752e0041
1 file changed
+2
-2
@@ -127,14 +127,14 @@ export default function VoucherDetailPage({ params }: { params: Promise<{ id: st
|
||||
{v.status !== "eingeloest" && (
|
||||
<button
|
||||
onClick={redeem}
|
||||
className="h-12 w-full rounded-field bg-brand-600 text-sm font-semibold text-white transition-colors hover:bg-brand-700 active:scale-[0.99] sm:flex-1"
|
||||
className="h-12 flex-1 rounded-field bg-brand-600 text-sm font-semibold text-white transition-colors hover:bg-brand-700 active:scale-[0.99]"
|
||||
>
|
||||
Einlösen
|
||||
</button>
|
||||
)}
|
||||
<Link
|
||||
href={`/vouchers/${v.id}/edit`}
|
||||
className="inline-flex h-12 items-center justify-center rounded-field border border-line bg-white px-5 text-sm font-semibold transition-colors hover:border-brand-600 hover:text-brand-700 sm:w-auto sm:px-8"
|
||||
className="inline-flex h-12 flex-1 items-center justify-center rounded-field border border-line bg-white text-sm font-semibold transition-colors hover:border-brand-600 hover:text-brand-700"
|
||||
>
|
||||
Bearbeiten
|
||||
</Link>
|
||||
|
||||
Reference in new issue
Block a user