Skip to content

Commit

Permalink
stretching card section web component
Browse files Browse the repository at this point in the history
  • Loading branch information
devacfr committed Apr 16, 2024
1 parent 4d10067 commit 231f86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -35,8 +35,8 @@
#* *##if( ${slide["slide-image"].html})
#render_html( ${slide["slide-image"]} )
#* *##else
<img src="${slide["slide-image"].src}"
#* *# #if( ${slide["slide-image"].attrs['class']} )class="${slide["slide-image"].attrs['class']}"#end
<img src="${slide['slide-image'].src}"
#* *# #if( ${slide["slide-image"].attrs['class']} )class="${slide['slide-image'].attrs['class']}"#end
#* *# #if( ${slide["slide-image"].alt} )alt="${slide['slide-image'].alt}"#end>
#* *##end
#* *##end
Expand Down
2 changes: 1 addition & 1 deletion src/site/layouts/snippets/card-section.vm
Expand Up @@ -16,7 +16,7 @@
<column shortcode class="mb-4">
<card webcomponent class="h-100">
<card-body>
<h5 class="card-title no-anchor"><a href="$snippet.href">$snippet.title</a></h5>
<h5 class="card-title no-anchor"><a class="stretched-link" href="$snippet.href">$snippet.title</a></h5>
<p class="card-text text-secondary">#render_html( ${snippet} )</p>
</card-body>
</card>
Expand Down

0 comments on commit 231f86d

Please sign in to comment.