diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-22 17:11:44 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-22 17:11:44 +0300 |
| commit | d6608c822370ca7aad42c0ed54caf421ead8bb50 (patch) | |
| tree | 468ec79a662b1bdfa48e78b2657ce490f5e30192 /src/components/widgets/Features2Custom.astro | |
| parent | 6c71a67a7473ee30c424ac63b4d2b27c38007d5e (diff) | |
Update widget
Diffstat (limited to 'src/components/widgets/Features2Custom.astro')
| -rw-r--r-- | src/components/widgets/Features2Custom.astro | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/widgets/Features2Custom.astro b/src/components/widgets/Features2Custom.astro index 18c1546..605fd08 100644 --- a/src/components/widgets/Features2Custom.astro +++ b/src/components/widgets/Features2Custom.astro @@ -33,7 +33,7 @@ const { <WidgetWrapper id={id} isDark={isDark} containerClass={`max-w-7xl mx-auto ${classes?.container ?? ''}`} bg={bg}> <Headline title={title} subtitle={subtitle} tagline={tagline} classes={classes?.headline as Record<string, string>} /> - + { items && items.length > 0 && ( <div @@ -69,7 +69,10 @@ const { )} <div class={twMerge('text-xl font-bold', titleClass, itemClasses?.title)}>{title}</div> {description && ( - <p class={twMerge('text-muted mt-2', descriptionClass, itemClasses?.description)} set:html={description} /> + <p + class={twMerge('text-muted mt-2', descriptionClass, itemClasses?.description)} + set:html={description} + /> )} {callToAction && ( <div class="mt-2"> @@ -81,4 +84,4 @@ const { </div> ) } -</WidgetWrapper>
\ No newline at end of file +</WidgetWrapper> |
