mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-15 12:24:21 +01:00
fix: register card border on mobile
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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>)}
|
||||
|
||||
Reference in New Issue
Block a user