Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh authored and github-actions[bot] committed Sep 16, 2023
1 parent d192852 commit 60b9607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/RoleResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public static function getResourceEntitiesSchema(): ?array
return collect(FilamentShield::getResources())->sortKeys()->reduce(function ($entities, $entity) {

$entities[] = Forms\Components\Section::make(FilamentShield::getLocalizedResourceLabel($entity['fqcn']))
->description(fn () => new HtmlString('<span style="word-break: break-word;">'.Utils::showModelPath($entity['fqcn']).'</span>'))
->description(fn () => new HtmlString('<span style="word-break: break-word;">' . Utils::showModelPath($entity['fqcn']) . '</span>'))
->compact()
->schema([
Forms\Components\CheckboxList::make($entity['resource'])
Expand Down Expand Up @@ -368,7 +368,7 @@ public static function getResourceEntitiesSchema(): ?array
->columns([
'default' => 2,
'sm' => 3,
'lg' => 4
'lg' => 4,
]),
])
->columnSpanFull()
Expand Down

0 comments on commit 60b9607

Please sign in to comment.