mirror of https://github.com/vector-im/riot-web
lint
parent
a5a4f2ed7d
commit
da8a783ca0
|
@ -15,7 +15,7 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mx_AudioPlayer_container {
|
.mx_AudioPlayer_container {
|
||||||
padding: 16px 12px 11px 12px;
|
padding: 16px 12px 12px 12px;
|
||||||
max-width: 267px; // use max to make the control fit in the files/pinned panels
|
max-width: 267px; // use max to make the control fit in the files/pinned panels
|
||||||
|
|
||||||
.mx_AudioPlayer_primaryContainer {
|
.mx_AudioPlayer_primaryContainer {
|
||||||
|
|
|
@ -83,7 +83,8 @@ export default class AudioPlayer extends React.PureComponent<IProps, IState> {
|
||||||
const bytes = this.props.playback.sizeBytes;
|
const bytes = this.props.playback.sizeBytes;
|
||||||
if (!bytes) return null;
|
if (!bytes) return null;
|
||||||
|
|
||||||
// Not translated as these are units, and therefore universal
|
// Not translated here - we're just presenting the data which should already
|
||||||
|
// be translated if needed.
|
||||||
return `(${formatBytes(bytes)})`;
|
return `(${formatBytes(bytes)})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue