feat: 🎸 Changing div for h2
Changing the heading text container from a div to an h2
This commit is contained in:
1 parent
445d789344
commit
bfdaacc2cd
2 files changed
+10
-3
No files matched your search
@@ -1,12 +1,12 @@
|
||||
<section class='card'>
|
||||
<header class='card-header'>
|
||||
{{#if @heading}}
|
||||
<div>
|
||||
<h2>
|
||||
{{#if @icon}}
|
||||
<Rose::Icon @name={{@icon}} @size='medium' />
|
||||
{{/if}}
|
||||
{{@heading}}
|
||||
</div>
|
||||
</h2>
|
||||
{{/if}}
|
||||
{{yield to='header'}}
|
||||
</header>
|
||||
|
||||
Reference in new issue
Block a user