Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stubs/resources/views/flux/separator.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
@endphp

<?php if ($text): ?>
<div data-orientation="{{ $orientation }}" class="flex items-center w-full" role="none" data-flux-separator>
<div {{ $attributes->class([$classes, 'grow']) }}></div>
<div data-orientation="{{ $orientation }}" role="none" {{ $attributes->class('flex items-center w-full') }} data-flux-separator>
<div class="{{ $classes }} grow"></div>

<span class="shrink mx-6 font-medium text-sm text-zinc-500 dark:text-zinc-300 whitespace-nowrap">{{ $text }}</span>

<div {{ $attributes->class([$classes, 'grow']) }}></div>
<div class="{{ $classes }} grow"></div>
</div>
<?php else: ?>
<div data-orientation="{{ $orientation }}" role="none" {{ $attributes->class($classes, 'shrink-0') }} data-flux-separator></div>
Expand Down