Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b32dd2b

Browse files
kyleleowMikhail
authored and
Mikhail
committedApr 14, 2023
fix: button missing px, align vertical spacing (#615)
Signed-off-by: Keng Ye <[email protected]>
1 parent 65d8ae7 commit b32dd2b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎src/components/commons/SectionGridLayout.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ export function SectionGridLayout(props: SectionGridLayoutProps): JSX.Element {
3636
<Container className="flex flex-col justify-between lg:flex-row 2xl:max-w-[1920px] 2xl:mx-[300px]">
3737
<div className="flex lg:w-[551px] relative z-10">
3838
<div
39-
className="w-full flex flex-col space-y-5 md:space-y-5 lg:space-y-5"
39+
className="w-full flex flex-col"
4040
data-testid="masternodesBenefits.text"
4141
>
42-
{sectionTitle !== undefined ? (
43-
<SectionTitle text={sectionTitle} />
44-
) : null}
42+
{sectionTitle !== undefined && (
43+
<SectionTitle text={sectionTitle} customStyle="w-fit mb-5" />
44+
)}
4545
<h2
46-
className="text-[40px] leading-[44px] tracking-[-0.02em] lg:text-6xl lg:leading-[72px] lg:tracking-normal"
46+
className="text-[40px] mb-5 leading-[44px] tracking-[-0.02em] lg:text-6xl lg:leading-[72px] lg:tracking-normal"
4747
data-testid="title"
4848
>
4949
{title}
5050
</h2>
5151
<div
52-
className="text-dark-700 lg:text-xl font-desc md:w-9/12 lg:w-10/12"
52+
className="text-dark-700 mb-8 lg:text-xl font-desc md:w-9/12 lg:w-10/12"
5353
data-testid="desc"
5454
>
5555
{description}
@@ -64,7 +64,7 @@ export function SectionGridLayout(props: SectionGridLayoutProps): JSX.Element {
6464
)}
6565
{isSecondaryButton === true && href !== undefined && (
6666
<SecondaryButton
67-
className="text-sm py-3 lg:py-4 md:px-14 w-full md:w-fit lg:text-base !mt-[32px]"
67+
className="text-sm py-3 lg:py-4 px-14 w-full md:w-fit lg:text-base"
6868
text={buttonText}
6969
href={href}
7070
/>

0 commit comments

Comments
 (0)
Please sign in to comment.