mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
two digits and up smaller notif bubble txt
This commit is contained in:
parent
eac7e100cc
commit
554ca1a4f4
2 changed files with 11 additions and 1 deletions
|
@ -22,7 +22,13 @@ export default function NotificationHeaderButton(props: Props) {
|
||||||
'notification__bubble--inline': inline,
|
'notification__bubble--inline': inline,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<span className="notification__count">{unreadCount > 20 ? '20+' : unreadCount}</span>
|
<span
|
||||||
|
className={classnames('notification__count', {
|
||||||
|
'notification__bubble--small': unreadCount > 9,
|
||||||
|
})}
|
||||||
|
>
|
||||||
|
{unreadCount > 20 ? '20+' : unreadCount}
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,6 +175,10 @@ $contentMaxWidth: 35rem;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notification__bubble--small {
|
||||||
|
font-size: var(--font-xsmall);
|
||||||
|
}
|
||||||
|
|
||||||
.notification__bubble--inline {
|
.notification__bubble--inline {
|
||||||
@extend .notification__bubble;
|
@extend .notification__bubble;
|
||||||
top: 0.75rem;
|
top: 0.75rem;
|
||||||
|
|
Loading…
Add table
Reference in a new issue