Fix some bugs

This commit is contained in:
Steve Kinney
2024-09-17 15:50:09 -06:00
parent 4971bda81b
commit e29c63f5cb
6 changed files with 105 additions and 64 deletions

View File

@@ -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',