Skip to content

Commit 058b8a5

Browse files
resolve quebra no checkIcon
1 parent fc6418e commit 058b8a5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/components/SectionPadrao.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const { titulo, texto, imagem, departamentos = null, reverse = false } = Astro.p
1515
loading="lazy"
1616
/>
1717
</div> <div>
18+
1819
<h2 class="text-4xl font-extrabold mb-6">{titulo}</h2>
1920
<TextoComCheck texto={texto} />
2021

@@ -23,6 +24,7 @@ const { titulo, texto, imagem, departamentos = null, reverse = false } = Astro.p
2324
{departamentos.map((item) => (
2425
<div class="flex items-start gap-2">
2526
<CheckIcon size={24} class="mt-1" />
27+
2628
<span class="paragrafo">{item}</span>
2729
</div>
2830
))}
@@ -31,6 +33,7 @@ const { titulo, texto, imagem, departamentos = null, reverse = false } = Astro.p
3133
</div>
3234
</>
3335
) : ( <>
36+
3437
<div>
3538
<h2 class="text-4xl font-extrabold mb-6">{titulo}</h2>
3639
<TextoComCheck texto={texto} />

src/icons/CheckIcon.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2+
23
const { size = 24, color = "#22c55e", class: className = "" } = Astro.props;
3-
---
4+
45
56
<svg
67
xmlns="http://www.w3.org/2000/svg"
@@ -10,6 +11,7 @@ const { size = 24, color = "#22c55e", class: className = "" } = Astro.props;
1011
stroke={color}
1112
class={`flex-shrink-0 ${className}`}
1213
style={`width: ${size}px; height: ${size}px; min-width: ${size}px; min-height: ${size}px;`}
14+
1315
>
1416
<path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2l4 -4M12 2a10 10 0 110 20 10 10 0 010-20z" />
1517
</svg>

0 commit comments

Comments
 (0)