on master help sign in
indexcard: flex height to biggest sibling
6caa4f6Matilde Park
components/ecosystem/IndexCard.js+1−1
@@ -3,7 +3,7 @@ import classnames from "classnames";
3export default function IndexCard({ slug, feat }) {
3export default function IndexCard({ slug, feat }) {
4 return (
4 return (
5 <Link href={slug}>
5 <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">
7 <div className="flex flex-col p-4 justify-between items-between h-full relative">
7 <div className="flex flex-col p-4 justify-between items-between h-full relative">
8 {feat.image ? (
8 {feat.image ? (
9 <img
9 <img