wider audio control (better timeline seeking)
This commit is contained in:
@@ -299,6 +299,7 @@ function LazyMedia({ messageId, mediaType, className, alt = "MMS attachment" })
|
||||
controls
|
||||
src={src}
|
||||
className="audio-player"
|
||||
style={{ width: '100%' }}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -581,7 +581,7 @@ function MessageThread({ conversation, startDate, endDate }) {
|
||||
key={message.id}
|
||||
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 */}
|
||||
{showSenderLabel && (
|
||||
<div className="small text-muted mb-1 ms-2" style={{ fontSize: '0.7rem' }}>
|
||||
|
||||
Reference in New Issue
Block a user