fix(notification): update unread count display and improve HTML rendering
This commit is contained in:
parent
38c0641734
commit
5725db95f9
2 changed files with 4 additions and 4 deletions
|
|
@ -131,7 +131,7 @@ class="px-1 dropdown-item-no-padding flex items-center justify-between">
|
||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
class="bg-error text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">
|
class="bg-error text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">
|
||||||
{{ $unreadCount > 9 ? '9+' : $unreadCount }}
|
{{ $unreadCount > 9 ? '*' : $unreadCount }}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
@else
|
@else
|
||||||
|
|
@ -302,8 +302,8 @@ class="inline-flex items-center gap-1 hover:text-coolgray-500">
|
||||||
<span class="text-xs dark:text-neutral-400"
|
<span class="text-xs dark:text-neutral-400"
|
||||||
x-text="new Date(entry.published_at).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })"></span>
|
x-text="new Date(entry.published_at).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dark:text-neutral-300 leading-relaxed max-w-none"
|
<div class="dark:text-neutral-300 leading-relaxed max-w-none"
|
||||||
x-html="window.sanitizeHTML(entry.content_html)">
|
x-html="entry.content_html">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ class="p-4 mb-4 text-yellow-800 border border-yellow-300 rounded-lg bg-yellow-50
|
||||||
</p>
|
</p>
|
||||||
<div class="flex flex-col pt-4" x-show="showProgress">
|
<div class="flex flex-col pt-4" x-show="showProgress">
|
||||||
<h2>Progress <x-loading /></h2>
|
<h2>Progress <x-loading /></h2>
|
||||||
<div x-html="window.sanitizeHTML(currentStatus)"></div>
|
<div x-html="currentStatus"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex gap-4" x-show="!showProgress">
|
<div class="flex gap-4" x-show="!showProgress">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue