Don't hide children of datetime tooltip
This commit is contained in:
parent
ead441ce9f
commit
746a97c1df
|
@ -13,11 +13,14 @@ export function DateTimeTooltip(props: {
|
|||
}) {
|
||||
const { time } = props
|
||||
return (
|
||||
<>
|
||||
<span
|
||||
className="tooltip cursor-default hidden sm:inline-block"
|
||||
data-tip={dayjs(time).format('MMM DD, YYYY hh:mm a z')}
|
||||
>
|
||||
{props.children}
|
||||
</span>
|
||||
<span className="sm:hidden">{props.children}</span>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user