wider audio control (better timeline seeking)

This commit is contained in:
lowcarbdev
2026-03-01 23:49:41 -07:00
parent 2686ea6ff9
commit bcb0bd9688
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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>
)} )}
+1 -1
View File
@@ -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' }}>