Skip to content

Commit

Permalink
Replace ­ entity with flex. Fix for Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Scheibel committed Dec 11, 2022
1 parent d13d282 commit aa8919c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion resources/dist/filament-title-with-slug.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions resources/views/forms/fields/slug-input.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,13 @@ class="h-4 w-4"

@else

<span>
<span
class="
@if(!$getState()) flex items-center gap-1 @endif
"
>

<span class="mr-1">{{ $getLabelPrefix() }}</span>
<span>{{ $getLabelPrefix() }}</span>

<span
x-text="!editing ? '{{ $getFullBaseUrl() }}' : '{{ $getBasePath() }}'"
Expand All @@ -131,7 +135,7 @@ class="
"
:class="context !== 'create' && modified ? 'text-gray-600 bg-gray-100 dark:text-gray-400 dark:bg-gray-700 px-1 rounded-md' : ''"
>
<span class="mr-1">&shy;{{ $getState() }}</span>
<span class="mr-1">{{ $getState() }}</span>

<x-heroicon-o-pencil-alt
stroke-width="2"
Expand Down

0 comments on commit aa8919c

Please sign in to comment.