mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
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:
@@ -348,7 +348,7 @@ export default function ChatMessage(props: ChatMessageProps) {
|
|||||||
</div>
|
</div>
|
||||||
<div className={styles.chatFooter}>
|
<div className={styles.chatFooter}>
|
||||||
{
|
{
|
||||||
isHovering &&
|
(isHovering || props.isMobileWidth) &&
|
||||||
(
|
(
|
||||||
<>
|
<>
|
||||||
<div title={formatDate(props.chatMessage.created)} className={`text-gray-400 relative top-0 left-4`}>
|
<div title={formatDate(props.chatMessage.created)} className={`text-gray-400 relative top-0 left-4`}>
|
||||||
|
|||||||
Reference in New Issue
Block a user