on master help sign in
organisations: enforce minimum size on application tiles
38b1f14Matilde Park
pages/organizations/[slug].js+5−1
@@ -45,7 +45,11 @@ export default function Organization({
45 <div className="flex flex-col space-y-4 cursor-pointer">
45 <div className="flex flex-col space-y-4 cursor-pointer">
46 <div
46 <div
47 className="overflow-hidden rounded-xl"
47 className="overflow-hidden rounded-xl"
48+ style={{
48− style={{ backgroundColor: app.bgColor || "rgba(0,0,0,0)" }}
49+ backgroundColor: app.bgColor || "rgba(0,0,0,0)",
50+ height: 164,
51+ width: 164,
52+ }}
49 >
53 >
50 {app.image && (
54 {app.image && (
51 <img src={app.image} className="h-full w-full" />
55 <img src={app.image} className="h-full w-full" />