You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
lint
This commit is contained in:
@@ -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)})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user