File tree Expand file tree Collapse file tree
src/lib/components/public Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 {recipe .short_description }
3030 </span >
3131 <div class =" flex gap-2" >
32- <span >Bevat allergie:</span >
32+ {#if recipe .includes_allergies .length > 0 }
33+ <span >Bevat allergie:</span >
34+ {/if }
3335 {#each recipe .includes_allergies ?? [] as allergy }
3436 <span class =" bg-blue-200 text-blue-800 text-xs font-semibold px-1 py-0.5 rounded" >
3537 {allergy .name }
3638 </span >
3739 {/each }
3840 </div >
39- <hr class =" border-gray-400 my-2 " />
40- <div class =" flex gap-2 justify-between" >
41+ <hr class =" border-gray-400 my-1 " />
42+ <div class =" flex gap-2 justify-between text-sm " >
4143 <span >Gemaakt op: {new Date (recipe .created_at ).toLocaleDateString ()}</span >
4244 <span
43- >Van: <a href ={` /gebruikers/${recipe .created_by .username } ` }
44- >{recipe .created_by .username }</a
45+ >Van: <a href ={` /gebruikers/${recipe .created_by .title } ` }
46+ >{recipe .created_by .title }</a
4547 ></span
4648 >
4749 </div >
Original file line number Diff line number Diff line change 238238 <div class =" flex items-center gap-2" >
239239 <div class =" relative min-w-0 flex-1" >
240240 <input
241- class ={` block w-full max-w-full min-w-0 rounded border border-slate-300 bg-white pr-9 placeholder:font-medium placeholder:text-slate-500 focus:border-emerald-600 focus:ring-emerald-600 ${inputClasses } ` }
241+ class ={` block w-full max-w-full min-w-0 rounded border border-slate-300 bg-white pr-9 text-black placeholder:font-medium placeholder:text-slate-500 focus:border-emerald-600 focus:ring-emerald-600 ${inputClasses } ` }
242242 bind:value ={query }
243243 bind:this ={searchInput }
244244 {autofocus }
You can’t perform that action at this time.
0 commit comments