wider audio control (better timeline seeking)
This commit is contained in:
@@ -299,6 +299,7 @@ function LazyMedia({ messageId, mediaType, className, alt = "MMS attachment" })
|
|||||||
controls
|
controls
|
||||||
src={src}
|
src={src}
|
||||||
className="audio-player"
|
className="audio-player"
|
||||||
|
style={{ width: '100%' }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -581,7 +581,7 @@ function MessageThread({ conversation, startDate, endDate }) {
|
|||||||
key={message.id}
|
key={message.id}
|
||||||
className={`d-flex ${isSent ? 'justify-content-end' : 'justify-content-start'}`}
|
className={`d-flex ${isSent ? 'justify-content-end' : 'justify-content-start'}`}
|
||||||
>
|
>
|
||||||
<div style={{ maxWidth: '70%' }}>
|
<div style={message.media_type?.startsWith('audio/') ? { width: '90%' } : { maxWidth: '70%' }}>
|
||||||
{/* Sender label for received messages in group conversations */}
|
{/* Sender label for received messages in group conversations */}
|
||||||
{showSenderLabel && (
|
{showSenderLabel && (
|
||||||
<div className="small text-muted mb-1 ms-2" style={{ fontSize: '0.7rem' }}>
|
<div className="small text-muted mb-1 ms-2" style={{ fontSize: '0.7rem' }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user