on master help sign in
pages/organizations: enforce same aspect ratio with children
1d43e51Matilde Park
pages/organizations/[slug].js+1−1
@@ -52,7 +52,7 @@ export default function Organization({
52 }}
52 }}
53 >
53 >
54 {app.image && (
54 {app.image && (
55− <img src={app.image} className="h-full w-full" />
55+ <img src={app.image} className="h-full w-full" style={{ aspectRatio: "1" }} />
56 )}
56 )}
57 </div>
57 </div>
58 <p className="text-center font-bold font-xl">{app.title}</p>
58 <p className="text-center font-bold font-xl">{app.title}</p>