Skip to content

Commit

Permalink
fix(layout): correct classes placement logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ladunjexa committed May 16, 2024
1 parent ab7cfc0 commit 23574b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/layout/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ const Section = ({ className, id, crosses, crossesOffset, customPaddings, childr
<div
className={cn(
"hidden absolute top-0 left-7.5 right-7.5 h-0.25 bg-stroke-1",
crossesOffset && `${crossesOffset} pointer-events-none lg:block xl:left-10 right-10`
"pointer-events-none lg:block xl:left-10 right-10",
crossesOffset
)}
/>
<SectionSvg crossesOffset={crossesOffset} />
Expand Down

0 comments on commit 23574b5

Please sign in to comment.