fix: register card border on mobile

This commit is contained in:
MTG2000
2022-09-12 20:04:49 +03:00
parent 8ed7e20499
commit 997debe44c
2 changed files with 4 additions and 5 deletions

View File

@@ -51,11 +51,10 @@ export default function EventCard({ event }: Props) {
}))
}
// If single day => show time
// If single day => show time - time, day mon
// If multi-days:
// if same month: show months
// if diff month: hide month
// if same month: day - day mon
// if diff month: day mon - day mon
return (

View File

@@ -45,7 +45,7 @@ export default function RegisterCard({ makers_count, start_date, avatars, isRegi
return (
<Card onlyMd className='flex flex-col gap-24 !border'>
<Card onlyMd className='flex flex-col gap-24 md:!border'>
<div>
{makers_count > 2 && <p className="text-body5 text-gray-600 flex">
{avatars.map((img, idx) => <div className='w-[16px] h-32 relative'><Avatar key={idx} src={img} width={32} className='absolute top-0 left-0 min-w-[32px] !border-white' /></div>)}