mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
chat: set timestamp size to 1 in unread-notice
This commit is contained in:
parent
390a17b706
commit
4ac0a001bd
@ -10,7 +10,7 @@ export const UnreadNotice = (props) => {
|
||||
if (!unreadMsg || (unreadCount === 0)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
const stamp = moment.unix(unreadMsg.post['time-sent'] / 1000);
|
||||
|
||||
let datestamp = moment.unix(unreadMsg.post['time-sent'] / 1000).format('YYYY.M.D');
|
||||
@ -40,7 +40,7 @@ export const UnreadNotice = (props) => {
|
||||
borderColor='blue'>
|
||||
<Text flexShrink='1' textOverflow='ellipsis' whiteSpace='pre' overflow='hidden' display='flex' cursor='pointer' onClick={onClick}>
|
||||
{unreadCount} new message{unreadCount > 1 ? 's' : ''} since{' '}
|
||||
<Timestamp stamp={stamp} color='blue' date={true} />
|
||||
<Timestamp stamp={stamp} color='blue' date={true} fontSize={1} />
|
||||
</Text>
|
||||
<Text
|
||||
ml='4'
|
||||
|
Loading…
Reference in New Issue
Block a user