Fix list view alignment, modal sizing, folder icons, and add bitrate metadata
Some checks failed
Automated Container Build / build-and-push (push) Failing after 8s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 8s
This commit is contained in:
parent
807775a176
commit
42864ebcb7
3 changed files with 27 additions and 11 deletions
|
|
@ -145,7 +145,7 @@ export default function FilePreview({ file, onClose }: FilePreviewProps) {
|
|||
)}
|
||||
|
||||
{previewType === 'audio' && (
|
||||
<div className="w-full max-w-md p-6 rounded-xl text-center" style={{ backgroundColor: 'var(--color-bg-elevated)', border: '1px solid var(--color-border)' }}>
|
||||
<div className="w-[400px] sm:w-[500px] max-w-full p-6 rounded-xl text-center" style={{ backgroundColor: 'var(--color-bg-elevated)', border: '1px solid var(--color-border)' }}>
|
||||
<Music className="w-16 h-16 mx-auto mb-6" style={{ color: 'var(--color-accent)' }} />
|
||||
<h3 className="text-lg font-medium mb-4 truncate" style={{ color: 'var(--color-text-primary)' }}>{getFileDisplayName(file.name)}</h3>
|
||||
<audio src={downloadUrl} controls autoPlay className="w-full outline-none" />
|
||||
|
|
|
|||
Reference in a new issue