Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change heading in EmptyContent to span #4702

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/components/NcEmptyContent/NcEmptyContent.vue
Expand Up @@ -146,9 +146,9 @@ export default {
</div>
<!-- @slot Optional name if not set as property, shall be enclosed by a header element -->
<slot name="name">
<h2 v-if="hasName" class="empty-content__name">
<span v-if="hasName" class="empty-content__name">
{{ name }}
</h2>
</span>
</slot>
<p v-if="hasDescription">
<!-- @slot Optional formatted description rendered inside a paragraph -->
Expand Down Expand Up @@ -238,6 +238,9 @@ export default {
&__name {
margin-bottom: 10px;
text-align: center;
font-weight: bold;
font-size: 20px;
line-height: 30px;
}

&__action {
Expand Down