Refactor modal close behavior and improve styling
- Changed modal close event from `@click.away` to `@click.self` for better control over closing modals. - Updated various modal button styles for consistency and improved accessibility. - Adjusted transition durations for modal animations to enhance user experience. - Added aria-labels to close buttons for better screen reader support.
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
@endphp
|
||||
|
||||
<td {{ $attributes->class([
|
||||
'px-5 py-3.5 text-sm text-secondary dark:text-gray-300 align-middle',
|
||||
'px-5 py-3.5 text-sm text-secondary align-middle',
|
||||
$alignClass,
|
||||
'whitespace-nowrap' => $nowrap,
|
||||
'text-secondary/80 dark:text-gray-400' => $muted,
|
||||
'font-medium text-primary dark:text-gray-100' => $strong,
|
||||
'text-secondary/80' => $muted,
|
||||
'font-medium text-primary' => $strong,
|
||||
]) }}>
|
||||
{{ $slot }}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user