diff --git a/src/renderer/components/watch-video-info/watch-video-info.scss b/src/renderer/components/watch-video-info/watch-video-info.scss index ad7c658529c18..a30a3ab7466bb 100644 --- a/src/renderer/components/watch-video-info/watch-video-info.scss +++ b/src/renderer/components/watch-video-info/watch-video-info.scss @@ -1,27 +1,30 @@ .watchVideoInfo { - column-gap: 15px; - display: grid; - grid-template-columns: auto minmax(min-content, 1fr); + display: flex; + flex-direction: column; padding: 16px; - - @media screen and (max-width: 680px) { - grid-template-columns: auto; - } + gap: 8px; } .videoTitle { display: block; font-size: 22px; font-weight: normal; - margin-block: 0 24px; + margin-block: 0; margin-inline: 0; - margin-block-end: 1em; word-break: break-word; } -.channelInformation { +.videoMetrics, .videoButtons { + display: flex; + justify-content: space-between; + align-items: center; + gap: 10px; +} + +.videoButtons { .profileRow { display: flex; + align-items: center; } .channelThumbnail { @@ -36,6 +39,7 @@ cursor: pointer; display: block; margin-inline-start: 6px; + margin-block-end: 3px; position: relative; text-decoration: inherit; inset-block-start: -2px; @@ -44,41 +48,33 @@ .subscribeButton { font-size: 14px; margin-inline-start: 6px; - margin-block-start: 6px; + margin-block: 0; padding: 6px; } -} -.viewCount, -.datePublished { - color: var(--secondary-text-color); - font-size: 15px; - text-align: end; - - @media screen and (max-width: 680px) { - text-align: start; + .videoOptions { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + gap: 4px; + + @media screen and (max-width: 680px) { + :deep(.iconDropdown) { + inset-inline-start: calc(50% - 20px); + inset-inline-end: auto; + } + } } } -.viewCount { - margin-block: 18px 0; - margin-inline: 0; -} - -.datePublished { - margin-block: 4px 0; - margin-inline: 0; - - @media screen and (max-width: 680px) { - margin-block-start: 16px; - } -} +.videoMetrics { + font-size: 14px; + color: var(--tertiary-text-color); -.likeSection { + .likeSection { color: var(--tertiary-text-color); display: flex; flex-direction: column; - font-size: 16px; margin-inline-start: auto; margin-block-start: 4px; max-inline-size: 210px; @@ -97,24 +93,8 @@ .likeCount { margin-inline-end: 0; + display: flex; + gap: 3px; } } - -.videoOptions { - display: flex; - justify-content: flex-end; - margin-block-start: 16px; - - .option:not(:first-child) { - margin-inline-start: 4px; - } - - @media screen and (max-width: 680px) { - justify-content: flex-start; - - :deep(.iconDropdown) { - inset-inline-start: calc(50% - 20px); - inset-inline-end: auto; - } - } } diff --git a/src/renderer/components/watch-video-info/watch-video-info.vue b/src/renderer/components/watch-video-info/watch-video-info.vue index 8d1017c996c56..5161ef80fc15e 100644 --- a/src/renderer/components/watch-video-info/watch-video-info.vue +++ b/src/renderer/components/watch-video-info/watch-video-info.vue @@ -6,47 +6,10 @@ > {{ title }} -
-
-
- - - -
-
- - {{ channelName }} - - -
-
-
-
-
- {{ publishedString }} {{ dateString }} -
-
- {{ parsedViewCount }} +
+
+ {{ publishedString }} {{ dateString }} • {{ parsedViewCount }}
+
+
+
+
+ + + +
+
+ + {{ channelName }} + + +
+