Files
ladill-frontdesk/resources/views/components/danger-zone.blade.php
T
isaaccladandCursor 42e93a1744
Deploy Ladill Frontdesk / deploy (push) Successful in 1m44s
Make danger-zone action buttons full width like form footers.
Device and employee edit pages now stretch Regenerate/Remove actions across the row on wider screens.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 06:37:48 +00:00

13 lines
488 B
PHP

@props([
'title' => null,
])
<div {{ $attributes->class(['mt-6 space-y-3 rounded-2xl border border-slate-200 bg-slate-50/80 p-4']) }}>
@if ($title)
<p class="text-xs font-semibold uppercase tracking-wide text-slate-500">{{ $title }}</p>
@endif
<div class="flex flex-col gap-3 sm:flex-row [&>*]:min-w-0 [&>*]:flex-1 [&_button]:w-full [&_button]:justify-center [&_a[class*='btn-']]:w-full [&_a[class*='btn-']]:justify-center">
{{ $slot }}
</div>
</div>