Refine unread badge with a soft shadow and circular single-digit size
This commit is contained in:
1 parent
49e1fc3e12
commit
2ca2bfc5d6
1 file changed
+1
-1
@@ -86,7 +86,7 @@ export default class SiteLinksItemComponent extends Component {
|
||||
|
||||
{{#if this.hasUnread}}
|
||||
<span
|
||||
class="absolute -right-1 -bottom-1 rounded-full bg-red-500 px-1 text-xs font-semibold tabular-nums text-white ring-2 ring-gray-950"
|
||||
class="absolute -right-1 -bottom-1 inline-flex h-4 min-w-4 items-center justify-center rounded-full bg-red-500 px-1 text-xs font-semibold tabular-nums text-white shadow-[0_1px_2px_rgb(0_0_0_/_45%)]"
|
||||
data-test-site-links-count
|
||||
>{{this.unreadCount}}</span>
|
||||
{{/if}}
|
||||
|
||||
Reference in new issue
Block a user