Fix padding issue with download progress bar

Label was not wrapped in span, so the wrong styles were applying
This commit is contained in:
Alex Liebowitz 2017-01-23 23:06:29 -05:00
parent ef393ca360
commit 13886f4156

View file

@ -176,7 +176,7 @@ let FileActionsRow = React.createClass({
const
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...',
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 = (
<div className="faux-button-block file-actions__download-status-bar">