Skip to content

Commit 21f0e0e

Browse files
committed
Show the Download All label on mobile in the share overview section headers instead of icon-only buttons
1 parent c1c5ec3 commit 21f0e0e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/SharePhotoSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default function SharePhotoSection({ projectId, shareToken, allowPhotoDow
177177
{allowPhotoDownload && albums.length > 1 && (
178178
<Button variant="outline" size="sm" onClick={() => handleZipDownload('project')} disabled={downloading}>
179179
{downloading ? <Loader2 className="h-4 w-4 animate-spin" /> : <Download className="h-4 w-4" />}
180-
<span className="hidden sm:inline">{t('downloadAllAlbums', { count: albums.length })}</span>
180+
<span>{t('downloadAllAlbums', { count: albums.length })}</span>
181181
</Button>
182182
)}
183183
</div>

src/components/ThumbnailGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export default function ThumbnailGrid({
148148
{onDownloadAll && (
149149
<Button variant="outline" size="sm" onClick={onDownloadAll} disabled={downloadingAll} data-tutorial="download-all">
150150
{downloadingAll ? <Loader2 className="h-4 w-4 animate-spin" /> : <Download className="h-4 w-4" />}
151-
<span className="hidden sm:inline">{downloadAllLabel || t('videos')}</span>
151+
<span>{downloadAllLabel || t('videos')}</span>
152152
</Button>
153153
)}
154154
</div>

0 commit comments

Comments
 (0)