Skip to content

Commit aca42dc

Browse files
Design polish
1 parent 217484c commit aca42dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs-starlight/src/components/dv-OpenSourceCard.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ const { icon, title, description, href } = Astro.props;
77

88
<a
99
aria-label={`Learn more about ${title}`}
10-
class="opensourcecard group relative flex w-full items-center border border-dashed border-[var(--color-gray-3)] px-4 py-3 lg:px-8 lg:py-6 bg-[#FAFAFA] no-underline hover:bg-white hover:cursor-pointer transition-colors duration-200"
10+
class="opensourcecard group relative flex w-full items-start border border-dashed border-[var(--color-gray-3)] px-4 py-4 lg:px-8 lg:py-8 bg-[#FAFAFA] no-underline hover:bg-white hover:cursor-pointer transition-colors duration-200"
1111
href={href}
1212
rel="noopener noreferrer"
1313
target="_blank"
1414
>
15-
<div class="grid grid-cols-[1fr_24px] gap-2 w-full">
16-
<div class="flex flex-col items-start">
15+
<div class="grid grid-cols-[1fr_24px] gap-1 w-full">
16+
<div class="flex flex-col gap-4 items-start">
1717
<div class="flex gap-1.5 items-center">
1818
<Image
1919
alt={`${title} Icon`}
@@ -22,7 +22,7 @@ const { icon, title, description, href } = Astro.props;
2222
/>
2323
<p class="text-lg font-semibold text-[var(--color-dark-blue-1)] m-0">{title}</p>
2424
</div>
25-
<p class="text-sm font-sans text-[var(--color-gray-1)]">{description}</p>
25+
<p class="text-sm font-sans text-[var(--color-gray-1)] m-0">{description}</p>
2626
</div>
2727
<div class="flex items-center justify-end">
2828
<div class="opacity-0 group-hover:opacity-100 transform transition-opacity duration-200">

0 commit comments

Comments
 (0)