File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
src/lib/components/Facets Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 191
191
hyphenOpacity =" opacity-0"
192
192
bind:checked ={selectedGroups [group .name ]}
193
193
bind:group ={selectedGroups }
194
+ regionSymbol =" shrink-0"
194
195
>
195
- <p class =" font-semibold whitespace-nowrap" >
196
- {group .displayName }{group .count !== undefined ? ` (${group .count }) ` : ' ' }
197
- </p >
196
+ <div class =" grid grid-flow-col gap-2" >
197
+ <p class ="font-semibold whitespace-nowrap truncate" title ={group .displayName }>
198
+ {group .displayName }
199
+ </p >
200
+ <span >{group .count !== undefined ? ` (${group .count }) ` : ' ' }</span >
201
+ </div >
198
202
199
203
<svelte:fragment slot =" children" >
200
204
<!-- If more than 5 choices, show the remaining in the Modal -->
210
214
selection
211
215
multiple
212
216
>
213
- <div class =" flex gap-2" >
214
- <p class =" w-max grow truncate" >
215
- <span title ={item .displayName }>{item .displayName }</span >
217
+ <div class =" grid grid-flow-col gap-2" >
218
+ <p class =" truncate" >
219
+ <span class = "" title ={item .displayName }>{item .displayName }</span >
216
220
</p >
217
221
<span >({item .count })</span >
218
222
</div >
237
241
selection
238
242
multiple
239
243
>
240
- <div class =" flex gap-2" >
241
- <p class =" w-max grow truncate" >
242
- <span title ={item .displayName }>{item .displayName }</span >
244
+ <div class =" grid grid-flow-col gap-2" >
245
+ <p class =" truncate" >
246
+ <span class = "" title ={item .displayName }>{item .displayName }</span >
243
247
</p >
244
248
<span >({item .count })</span >
245
249
</div >
You can’t perform that action at this time.
0 commit comments