Skip to content

Commit

Permalink
feat: add tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jun 26, 2024
1 parent 086ed3d commit 43b3a8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 5 additions & 1 deletion apps/web/src/containers/DownloadButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ export function DownloadButton() {
window.location.href = downloadUrl
}

return <button type='button' onClick={onClick} className='btn btn-primary' disabled={!tickedDownloadAll || !selectedFile}>Download</button>
return (
<button type='button' onClick={onClick} className='btn btn-primary' disabled={!tickedDownloadAll || !selectedFile}>
Download
</button>
)
}
8 changes: 7 additions & 1 deletion apps/web/src/containers/FileSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ export function FileSelect() {
</select>

<label htmlFor='all-files' style={{ marginLeft: '1rem' }}>All</label>
<input id='all-files' type='checkbox' onChange={toggleTickedDownloadAll} checked={tickedDownloadAll} />
<input
id='all-files'
type='checkbox'
onChange={toggleTickedDownloadAll}
checked={tickedDownloadAll}
title='Download all artifacts as .tgz tarball'
/>
</div>
)
}
Expand Down

0 comments on commit 43b3a8f

Please sign in to comment.