Update the video metadata style

This commit is contained in:
Grégoire Delattre 2021-08-24 10:50:55 -10:00
parent 4cae6cc479
commit 6e7559206f

View File

@ -8,7 +8,6 @@ export const PolochonMetadata = ({
container, container,
videoCodec, videoCodec,
audioCodec, audioCodec,
releaseGroup,
size, size,
}) => { }) => {
if (!quality || quality === "") { if (!quality || quality === "") {
@ -17,12 +16,12 @@ export const PolochonMetadata = ({
const s = size === 0 ? "" : prettySize(size); const s = size === 0 ? "" : prettySize(size);
const metadata = [quality, container, videoCodec, audioCodec, releaseGroup, s] const metadata = [quality, s, container, videoCodec, audioCodec]
.filter((m) => m && m !== "") .filter((m) => m && m !== "")
.join(", "); .join(", ");
return ( return (
<span> <span className="text text-muted">
<i className="fa fa-file-video-o mr-1" /> <i className="fa fa-file-video-o mr-1" />
{metadata} {metadata}
</span> </span>