From a820434ad043a4c926cc3015005ecad73bc207dc Mon Sep 17 00:00:00 2001 From: MiroslavDionisiev Date: Thu, 5 Dec 2024 16:26:33 +0200 Subject: [PATCH] fix: [UEPR-116] added missing views text --- src/components/youtube-video-button/youtube-video-button.jsx | 2 +- src/components/youtube-video-button/youtube-video-button.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/youtube-video-button/youtube-video-button.jsx b/src/components/youtube-video-button/youtube-video-button.jsx index 5868b77b6..d496ca88e 100644 --- a/src/components/youtube-video-button/youtube-video-button.jsx +++ b/src/components/youtube-video-button/youtube-video-button.jsx @@ -24,7 +24,7 @@ export const YoutubeVideoButton = ({onSelectedVideo, ...videoData}) => (
{videoData.channel}
- {`${parseViewCount(videoData.views)} · ${videoData.uploadTime}`} + {`${parseViewCount(videoData.views)} views · ${videoData.uploadTime}`}
{videoData.hasCC && } diff --git a/src/components/youtube-video-button/youtube-video-button.scss b/src/components/youtube-video-button/youtube-video-button.scss index 9ff0a6502..c1a4036b2 100644 --- a/src/components/youtube-video-button/youtube-video-button.scss +++ b/src/components/youtube-video-button/youtube-video-button.scss @@ -55,7 +55,7 @@ } .video-metadata { - margin: 0.5rem 4rem 0.25rem 0; + margin: 0.5rem 0 0.25rem 0; color: $ui-dark-gray; font-size: 0.75rem;