Fix some bugs
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
export const DateTime = ({ date, title }: { date: Date; title: string }) => {
|
||||
return (
|
||||
<div className="flex gap-2 text-xs sm:flex-row">
|
||||
<div className="flex gap-2 overflow-x-hidden text-xs sm:flex-row">
|
||||
<h3 className="font-semibold sm:after:content-[':'] after:text-gray-900 text-primary-800">
|
||||
{title}
|
||||
</h3>
|
||||
<p>
|
||||
<p className="whitespace-pre">
|
||||
{date.toLocaleString(undefined, {
|
||||
dateStyle: 'short',
|
||||
timeStyle: 'short',
|
||||
|
||||
Reference in New Issue
Block a user