Files
Virtnet.bond/extensions/Servers/Proxmox/views/components/ui/table-td.blade.php
Joseph.Rawlings af62a16354 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.
2026-02-23 20:02:41 -05:00

31 lines
653 B
PHP

{{--
Table Data Cell Component - LucentUI Theme
Migrated from AdminLTE to Tailwind
--}}
@props([
'align' => 'start',
'nowrap' => false,
'muted' => false,
'strong' => false,
])
@php
$alignClasses = [
'start' => 'text-left',
'center' => 'text-center',
'end' => 'text-right',
];
$alignClass = $alignClasses[$align] ?? $alignClasses['start'];
@endphp
<td {{ $attributes->class([
'px-5 py-3.5 text-sm text-secondary align-middle',
$alignClass,
'whitespace-nowrap' => $nowrap,
'text-secondary/80' => $muted,
'font-medium text-primary' => $strong,
]) }}>
{{ $slot }}
</td>