Skip to content

Commit 6b61ba0

Browse files
committed
Fix title styling
1 parent 9efe9be commit 6b61ba0

File tree

1 file changed

+14
-16
lines changed
  • addon/components/eui-collapsible-nav-group

1 file changed

+14
-16
lines changed

addon/components/eui-collapsible-nav-group/index.hbs

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@
2020
</div>
2121
{{/if}}
2222
<EuiFlexItem>
23-
<EuiTitle @size={{arg-or-default @titleSize "xxs"}}>
24-
<TextBlock
25-
@tagName={{arg-or-default @titleTagName "h3"}}
26-
id={{concat groupId "__title"}}
27-
class="euiCollapsibleNavGroup__title"
28-
>
29-
{{yield to="title"}}
30-
</TextBlock>
23+
<EuiTitle
24+
id={{concat groupId "__title"}}
25+
class="euiCollapsibleNavGroup__title"
26+
@tagName={{arg-or-default @titleTagName "h3"}}
27+
@size={{arg-or-default @titleSize "xxs"}}
28+
>
29+
{{yield to="title"}}
3130
</EuiTitle>
3231
</EuiFlexItem>
3332
</EuiFlexGroup>
@@ -57,14 +56,13 @@
5756
</div>
5857
{{/if}}
5958
<EuiFlexItem>
60-
<EuiTitle @size={{arg-or-default @titleSize "xxs"}}>
61-
<TextBlock
62-
@tagName={{arg-or-default @titleTagName "h3"}}
63-
id={{concat groupId "__title"}}
64-
class="euiCollapsibleNavGroup__title"
65-
>
66-
{{yield to="title"}}
67-
</TextBlock>
59+
<EuiTitle
60+
id={{concat groupId "__title"}}
61+
class="euiCollapsibleNavGroup__title"
62+
@tagName={{arg-or-default @titleTagName "h3"}}
63+
@size={{arg-or-default @titleSize "xxs"}}
64+
>
65+
{{yield to="title"}}
6866
</EuiTitle>
6967
</EuiFlexItem>
7068
</EuiFlexGroup>

0 commit comments

Comments
 (0)