1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

[shared file view] added a space after 'Download' for the big green download button in the top right (#5953)

This commit is contained in:
llj
2024-02-08 16:50:36 +08:00
committed by GitHub
parent 12a80ddf18
commit cca420eb72

View File

@@ -130,7 +130,7 @@ class SharedFileView extends React.Component {
</Button>
}{' '}
{(canDownload && !trafficOverLimit) &&
<a href={`?${zipped ? 'p=' + encodeURIComponent(filePath) + '&' : ''}dl=1`} className="btn btn-success">{gettext('Download')}({Utils.bytesToSize(fileSize)})</a>
<a href={`?${zipped ? 'p=' + encodeURIComponent(filePath) + '&' : ''}dl=1`} className="btn btn-success">{gettext('Download')} ({Utils.bytesToSize(fileSize)})</a>
}{' '}
{(enableShareLinkReportAbuse && (loginUser !== sharedBy)) &&
<Button