Skip to content

Commit 5b73f9c

Browse files
committed
Date style #3456
1 parent 5a096ad commit 5b73f9c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

web/templates/newsroom/NewsSections/NewsHeadliner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ const NewsHeadliner = forwardRef<HTMLLIElement, NewsHeadlinerProps>(
5252
</div>
5353
)}
5454
{publishDateTime && (
55-
<div>
55+
<div className='flex align-center'>
5656
<FormattedDateTime
5757
variant='date'
5858
datetime={publishDateTime}
5959
uppercase
6060
className='font-normal text-2xs leading-normal'
6161
/>
62-
<span className='mx-2 pb-1 font-normal text-2xs leading-normal'>
62+
<span className='mx-2 font-normal leading-normal'>
6363
|
6464
</span>
6565
<FormattedDateTime

web/templates/newsroom/NewsSections/NewsItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ const NewsItem = forwardRef<HTMLLIElement, NewsListItemProps>(function NewsItem(
2828
>
2929
<div className='max-w-[65%]'>
3030
{publishDateTime && (
31-
<div>
31+
<div className='flex align-center'>
3232
<FormattedDateTime
3333
variant='date'
3434
datetime={publishDateTime}
3535
uppercase
3636
className='pb-1 font-normal text-2xs leading-normal'
3737
/>
38-
<span className='mx-2 pb-1 font-normal text-2xs leading-normal'>
38+
<span className='mx-2 font-normal leading-normal'>
3939
|
4040
</span>
4141
<FormattedDateTime

0 commit comments

Comments
 (0)