Fix padding issue with download progress bar
Label was not wrapped in span, so the wrong styles were applying
This commit is contained in:
parent
ef393ca360
commit
13886f4156
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ let FileActionsRow = React.createClass({
|
||||||
const
|
const
|
||||||
progress = this.state.fileInfo ? this.state.fileInfo.written_bytes / this.state.fileInfo.total_bytes * 100 : 0,
|
progress = this.state.fileInfo ? this.state.fileInfo.written_bytes / this.state.fileInfo.total_bytes * 100 : 0,
|
||||||
label = this.state.fileInfo ? progress.toFixed(0) + '% complete' : 'Connecting...',
|
label = this.state.fileInfo ? progress.toFixed(0) + '% complete' : 'Connecting...',
|
||||||
labelWithIcon = <span className="button__content"><Icon icon="icon-download" />{label}</span>;
|
labelWithIcon = <span className="button__content"><Icon icon="icon-download" /><span>{label}</span></span>;
|
||||||
|
|
||||||
linkBlock = (
|
linkBlock = (
|
||||||
<div className="faux-button-block file-actions__download-status-bar">
|
<div className="faux-button-block file-actions__download-status-bar">
|
||||||
|
|
Loading…
Reference in a new issue