on master help sign in
pages/org: make app icons behave
commit4862f633444c7b57416599854f729dad38d7b003 authorMatilde Park <matilde.park@urbit.org> dateTue 26 Jul 2022, 20:54 (4 years ago) parent3770096
2 files changed+5−6
components/ecosystem/BasicPage.js+1−1 pages/organizations/[slug].js+4−5
components/ecosystem/BasicPage.js+1−1
@@ -94,7 +94,7 @@ export default function BasicPage({
9494 )}
9595 </div>
9696 <div className="flex">
97− <div className="markdown">
97+ <div className="markdown w-full">
9898 <Markdown.render content={JSON.parse(markdown)} />
9999 {children}
100100 </div>
pages/organizations/[slug].js+4−5
@@ -39,16 +39,15 @@ export default function Organization({
3939 {applications.length > 0 && (
4040 <>
4141 <h3>Applications</h3>
42− <div className="grid grid-cols-2 md:grid-cols-4 gap-8">
42+ <div className="grid grid-cols-2 md:grid-cols-4 gap-8 h-full w-full">
4343 {applications.map((app) => (
4444 <Link href={`/applications/${app.ship}/${app.slug}`}>
45− <div className="flex flex-col space-y-4 cursor-pointer">
45+ <div className="flex flex-col h-full w-full space-y-4 cursor-pointer">
4646 <div
47− className="overflow-hidden rounded-xl"
47+ className="overflow-hidden rounded-xl w-full"
4848 style={{
4949 backgroundColor: app.bgColor || "rgba(0,0,0,0)",
50− height: 164,
51− width: 164,
50+ aspectRatio: "1",
5251 }}
5352 >
5453 {app.image && (