File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Earn/TabSection/CuratorTabContent Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,11 @@ const CtaCard: React.FC<ICtaCard> = ({
45
45
< h2 className = "mb-6 text-lg font-medium text-primary-text lg:text-xl" >
46
46
{ title }
47
47
</ h2 >
48
- < p className = "mb-6 text-base text-secondary-text lg:text-lg" >
48
+ < p
49
+ className = {
50
+ "mb-6 whitespace-pre-wrap text-base text-secondary-text lg:text-lg"
51
+ }
52
+ >
49
53
{ description }
50
54
</ p >
51
55
{ typeof arrowLink !== "undefined" ? (
Original file line number Diff line number Diff line change @@ -18,9 +18,13 @@ const CuratorTabContent: React.FC<EarnPageBecomeACuratorTab> = ({
18
18
{ title }
19
19
</ div >
20
20
< div className = "text-secondary-text lg:text-lg" > { description } </ div >
21
- < div className = "grid grid-cols-1 gap-6 lg:grid-cols-3" >
22
- { ctaCard . map ( ( card ) => (
23
- < CtaCard key = { card . title } { ...card } />
21
+ < div className = "grid grid-cols-1 gap-6 lg:grid-cols-6" >
22
+ { ctaCard . map ( ( card , i ) => (
23
+ < CtaCard
24
+ className = { i + 1 < ctaCard . length / 2 ? "col-span-3" : "col-span-2" }
25
+ key = { card . title }
26
+ { ...card }
27
+ />
24
28
) ) }
25
29
</ div >
26
30
< ExternalLink
You can’t perform that action at this time.
0 commit comments