Fix aspect ration on profiles

This commit is contained in:
tree 2023-02-09 11:55:33 +01:00
parent 52086514e5
commit 01981a5c8f
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,8 @@ export const config = {
},
benefits: {
title: 'Benefits for visitors',
model: 'benefit'
model: 'benefit',
aspect: 'aspect-video'
},
unions: {
title: 'Event Unions',

View File

@ -56,7 +56,7 @@
<ItemLogo
{item}
img={config.collections[colPlural]?.img || 'logo'}
aspect={config[col]?.aspect || 'aspect-square'}
aspect={config.collections[colPlural]?.aspect || 'aspect-square'}
width="w-48 md:w-56 mr-5"
rounded="rounded-xl"
/>