fix(frontend): person cards now show correctly in ListView's

This commit is contained in:
sct
2020-12-11 10:36:39 +00:00
parent d8060afe02
commit ccb98553f1

View File

@@ -18,7 +18,7 @@ const PersonCard: React.FC<PersonCardProps> = ({
}) => { }) => {
return ( return (
<Link href={`/person/${personId}`}> <Link href={`/person/${personId}`}>
<a> <a className={canExpand ? 'w-full' : 'w-36 sm:w-36 md:w-44'}>
<div <div
className={`relative ${ className={`relative ${
canExpand ? 'w-full' : 'w-36 sm:w-36 md:w-44' canExpand ? 'w-full' : 'w-36 sm:w-36 md:w-44'