Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
spelkey-ucd committed May 9, 2023
1 parent d1ec632 commit 1d31c09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/public/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@
@use './block-shims.scss' as blockShims;
@use './watercolors.scss' as waterColors;

@use 'slick-carousel/slick/slick.scss' as slick;
@use 'slick-carousel/slick/slick.scss' as slick;

.ucd-block-heading-with-icon {
padding-left: var(--o-box-spacer);
--o-box-spacer: var(--o-box-spacer-default, 0.75rem);
}
4 changes: 2 additions & 2 deletions views/blocks/heading-with-icon.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="panel--icon panel--icon-custom" {{attributes.anchor ? "id='"~attributes.anchor~"'"}}>
<div class="ucd-block-heading-with-icon panel--icon panel--icon-custom" {{attributes.anchor ? "id='"~attributes.anchor~"'"}}>
<h2 class="panel__title u-space-mb--flush">
<ucdlib-icon icon="{{attributes.icon ? attributes.icon : 'ucd-public:fa-star'}}" class="panel__custom-icon {{attributes.brandColor}}"></ucdlib-icon>
<span>{{attributes.text}}</span>
</h2>
</div>
</div>

0 comments on commit 1d31c09

Please sign in to comment.