pull/21833/head
Travis Ralston 2021-06-30 14:51:18 -06:00
parent a5a4f2ed7d
commit da8a783ca0
2 changed files with 3 additions and 2 deletions

View File

@ -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 {

View File

@ -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)})`;
} }