style: Update Header component UI for manageDownloads

This commit is contained in:
Peifan Li
2025-12-01 14:30:08 -05:00
parent 7969412091
commit ae8507a609

View File

@@ -217,12 +217,7 @@ const Header: React.FC<HeaderProps> = ({
slots={{ transition: Fade }}
>
<MenuItem onClick={() => { handleDownloadsClose(); navigate('/downloads'); }}>
<Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'center', width: '100%', color: 'primary.main' }}>
<Download sx={{ mr: 1, fontSize: 20 }} />
<Typography variant="body2" sx={{ fontWeight: 'bold' }}>
{t('manageDownloads') || 'Manage Downloads'}
</Typography>
</Box>
<Download sx={{ mr: 2 }} /> {t('manageDownloads') || 'Manage Downloads'}
</MenuItem>
{activeDownloads.map((download) => (