indexcard: flex height to biggest sibling
commit6caa4f67373b74b4f54ef9ac9e0f20c1728a9443
authorMatilde Park <matilde.park@urbit.org>
dateMon 25 Jul 2022, 14:38 (4 years ago)
parent0cadadf
components/ecosystem/IndexCard.js+1−1
@@ -3,7 +3,7 @@ import classnames from "classnames";
33export default function IndexCard({ slug, feat }) {
44 return (
55 <Link href={slug}>
6− <div className="cursor-pointer bg-wall-100 rounded-xl basis-1/3 h-full">
6+ <div className="cursor-pointer bg-wall-100 rounded-xl min-h-0 flex-1">
77 <div className="flex flex-col p-4 justify-between items-between h-full relative">
88 {feat.image ? (
99 <img