Skip to content

Commit

Permalink
Merge pull request #4735 from nextcloud-libraries/fix/empty-content-c…
Browse files Browse the repository at this point in the history
…olor

fix(NcEmptyContent): Fix regression that changed the color of the description text
  • Loading branch information
Pytal committed Nov 1, 2023
2 parents d2d0323 + d25e345 commit e13ede7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/NcEmptyContent/NcEmptyContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Providing an icon, name, and a description is strongly advised.

```
<template>
<NcEmptyContent
name="No comments">
<NcEmptyContent name="No comments"
description="Start writing comments and they will appear here.">
<template #icon>
<Comment />
</template>
Expand Down Expand Up @@ -150,7 +150,7 @@ export default {
{{ name }}
</span>
</slot>
<p v-if="hasDescription">
<p v-if="hasDescription" class="empty-content__description">
<!-- @slot Optional formatted description rendered inside a paragraph -->
<slot name="description">
{{ description }}
Expand Down Expand Up @@ -243,6 +243,10 @@ export default {
line-height: 30px;
}
&__description {
color: var(--color-text-maxcontrast);
}
&__action {
margin-top: 8px;
Expand Down

0 comments on commit e13ede7

Please sign in to comment.