Skip to content

Commit 24bb8ef

Browse files
committed
fix: make dotted borders consistent
1 parent 1829903 commit 24bb8ef

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/components/sections/homepage/Main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ export default function MainSection(): ReactElement {
5252
</Link>
5353
<VideoPopup />
5454
</div>
55-
<div className="flex flex-col md:flex-row space-y-5 md:space-y-0 space-x-0 md:space-x-5 justify-end">
55+
<div className="flex flex-col md:flex-row md:divide-y-0 divide-y-2 divide-dotted divide-gray-200 space-y-5 md:space-y-0 space-x-0 md:space-x-5 justify-end">
5656
{cards.map((card, i) => (
57-
<div key={`numbered-card-${i}`} className="w-full lg:max-w-.5xs divide-dotted-custom">
57+
<div key={`numbered-card-${i}`} className="w-full lg:max-w-.5xs pt-5 md:pt-0">
5858
<NumberedCard index={i + 1} title={t(card.title) as string} text={t(card.body) as string} />
5959
</div>
6060
))}

src/styles/globals.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -459,15 +459,6 @@ div {
459459
.markdown-content h2 {
460460
font-size: 1.25rem !important;
461461
}
462-
.divide-dotted-custom:not(:first-child):before {
463-
content: "";
464-
display: block;
465-
height: 0.25rem;
466-
margin-bottom: 1.25rem;
467-
background-image: linear-gradient(to right, #E5E7EB 25%, transparent 20%);
468-
background-size: 0.625rem 0.313rem;
469-
background-repeat: repeat-x;
470-
}
471462

472463
}
473464

0 commit comments

Comments
 (0)