Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #142 from deriv-com/Jia/hero-block-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-deriv authored Nov 9, 2023
2 parents bdb021e + fe8bf6f commit 2d6b0d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
8 changes: 1 addition & 7 deletions libs/blocks/src/lib/hero/content-bottom/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ const ContentBottom = ({
children,
}: ContentBottomProps) => {
return (
<Section
className={clsx(
'py-general-4xl',
'bg-background-primary-container',
className,
)}
>
<Section className={clsx('py-general-4xl', className)}>
<FluidContainer
className={clsx(
'flex flex-col gap-gap-3xl md:px-general-lg lg:px-general-none',
Expand Down
8 changes: 1 addition & 7 deletions libs/blocks/src/lib/hero/content-less/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ const ContentLess = ({
children,
}: ContentLessProps) => {
return (
<Section
className={clsx(
'py-general-4xl',
'bg-background-primary-container',
className,
)}
>
<Section className={clsx('py-general-4xl', className)}>
<FluidContainer className="flex flex-col gap-gap-3xl lg:px-general-none">
<div className="flex flex-col gap-gap-2xl">
<Heading.H1 className="text-center">{title}</Heading.H1>
Expand Down
7 changes: 1 addition & 6 deletions libs/blocks/src/lib/hero/content-limit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ const ContentLimit: React.FC<ContentLimitProps> = ({
children,
}) => {
return (
<Section
className={qtMerge(
'relative bg-background-primary-container py-general-4xl',
className,
)}
>
<Section className={qtMerge('relative py-general-4xl', className)}>
<FluidContainer
className={clsx(
'lg:flex-row',
Expand Down

0 comments on commit 2d6b0d4

Please sign in to comment.