Skip to content

Commit 3ecfb1d

Browse files
authored
Tweak for text pill title (#2206)
* Tweak for text pill title * Fix styling
1 parent ae34672 commit 3ecfb1d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

resources/views/includes/filter-pill.blade.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
->except(['default', 'default-styling', 'default-colors'])
1414
}}
1515
>
16-
<span {{ $attributes->merge($pillTitleDisplayDataArray) }}></span>
17-
16+
<span {{ $attributes->merge($pillTitleDisplayDataArray) }}></span>:&nbsp;
1817
<span {{ $attributes->merge($pillDisplayDataArray) }}></span>
1918

2019
<x-livewire-tables::tools.filter-pills.buttons.reset-filter :$filterKey :$filterPillData/>

src/DataTransferObjects/Filters/FilterPillData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function getInternalFilterPillDisplayDataArray(array $array = []): array
137137

138138
public function getFilterTitleDisplayDataArray(array $array = []): array
139139
{
140-
$array[$this->shouldUsePillsTitleAsHtml() ? 'x-html' : 'x-text'] = "localFilterTitle + ':&nbsp;'";
140+
$array[$this->shouldUsePillsTitleAsHtml() ? 'x-html' : 'x-text'] = 'localFilterTitle';
141141

142142
return $array;
143143
}

0 commit comments

Comments
 (0)