Skip to content

Commit

Permalink
QOLOE-9 Fix for PageAlert color and optional heading
Browse files Browse the repository at this point in the history
  • Loading branch information
stvp-qld committed May 9, 2024
1 parent f375d76 commit 83a04da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/bs5/inpageAlert/inpageAlert.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="alert {{variantClass}} {{customClass}}" role="alert">
{{#if heading}}
<h4 class="alert-heading">{{{ heading }}}</h4>
<div class="alert-heading" role="heading">{{{ heading }}}</div>
{{/if}}
{{{ content }}}
</div>
1 change: 1 addition & 0 deletions src/components/bs5/inpageAlert/inpageAlert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
.alert-heading {
line-height: 1.5;
font-size: 1.5rem;
font-weight: 600;
margin: 0 0 1rem 0;
padding: 0;
color: var(--qld-headings-color);
Expand Down

0 comments on commit 83a04da

Please sign in to comment.