Show chat message action buttons without hover on mobile interfaces

This is because hover maybe hard to do on mobile devices
This commit is contained in:
Debanjum Singh Solanky
2024-07-14 00:54:23 +05:30
parent f69f9e3523
commit b26a6e25d1

View File

@@ -348,7 +348,7 @@ export default function ChatMessage(props: ChatMessageProps) {
</div>
<div className={styles.chatFooter}>
{
isHovering &&
(isHovering || props.isMobileWidth) &&
(
<>
<div title={formatDate(props.chatMessage.created)} className={`text-gray-400 relative top-0 left-4`}>