File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
src/components/Hero/HubHero Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,8 @@ const HubHero = ({
39
39
} }
40
40
/>
41
41
< Stack
42
- // spacing :: used space-y as considering it to be column
43
42
className = { cn (
44
- "gap-0 space-y- 4 p-4 lg:p-8" ,
43
+ "gap-4 p-4 lg:p-8" ,
45
44
"text-center xl:text-start" ,
46
45
"xl:rounded" ,
47
46
"xl:bg-hub-hero-content-bg" ,
@@ -58,10 +57,8 @@ const HubHero = ({
58
57
</ h1 >
59
58
) : null }
60
59
< Stack
61
- // TODO: Spacings on @chakra Stack behaves differently on different screen sizes
62
- // spacing :: used space-y as considering it to be column
63
60
// --eth-sizes-container-md: 768px ==> tailwind max-w-3xl
64
- className = "max-w-3xl gap-0 space-y- 2 self-center md:space-y -1"
61
+ className = "max-w-3xl gap-2 self-center md:gap -1"
65
62
>
66
63
{ title ? (
67
64
< h2 className = "text-4xl lg:text-5xl" > { header } </ h2 >
@@ -75,8 +72,7 @@ const HubHero = ({
75
72
className = { cn (
76
73
"h-fit flex-col gap-0 md:flex-row" ,
77
74
"md:justify-center xl:justify-start" ,
78
- // spacing :: used space-y & x as considering it to be sm:column md:row
79
- "space-y-4 md:space-x-4 md:space-y-0"
75
+ "gap-4"
80
76
) }
81
77
>
82
78
{ buttons ?. map ( ( button , idx ) => {
You can’t perform that action at this time.
0 commit comments