mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-23 14:02:43 -05:00
Merge pull request #8996 from scratchfoundation/fix/missing-view-text
fix: [UEPR-116] added missing views text
This commit is contained in:
commit
12d7ea7b03
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ export const YoutubeVideoButton = ({onSelectedVideo, ...videoData}) => (
|
||||||
<div className="video-metadata">
|
<div className="video-metadata">
|
||||||
<div className="channel-name">{videoData.channel}</div>
|
<div className="channel-name">{videoData.channel}</div>
|
||||||
<div className="video-statistics">
|
<div className="video-statistics">
|
||||||
{`${parseViewCount(videoData.views)} · ${videoData.uploadTime}`}
|
{`${parseViewCount(videoData.views)} views · ${videoData.uploadTime}`}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{videoData.hasCC && <img src="/images/ideas/video-cc-label.svg" />}
|
{videoData.hasCC && <img src="/images/ideas/video-cc-label.svg" />}
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-metadata {
|
.video-metadata {
|
||||||
margin: 0.5rem 4rem 0.25rem 0;
|
margin: 0.5rem 0 0.25rem 0;
|
||||||
|
|
||||||
color: $ui-dark-gray;
|
color: $ui-dark-gray;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
|
|
Loading…
Reference in a new issue