diff --git a/src/renderer/views/Channel/Channel.css b/src/renderer/views/Channel/Channel.css index 42a2699d..1c7109bc 100644 --- a/src/renderer/views/Channel/Channel.css +++ b/src/renderer/views/Channel/Channel.css @@ -2,26 +2,32 @@ position: relative; width: 85%; margin: 0 auto 20px; + box-sizing: border-box; } -.channelBanner { - width: 100%; - max-height: 200px; +.channelDetails { + padding: 0 0 16px; } -.defaultChannelBanner { +.channelBannerContainer { + background: center / cover no-repeat var(--banner-url, transparent); + height: 13vw; + min-height: 110px; + max-height: 32vh; width: 100%; - max-height: 200px; - height:200px; - background-color: black; +} + +.channelBannerContainer.default { background-image: url("images/defaultBanner.png"); + background-repeat: repeat; + background-size: contain; } .channelInfoContainer { - width: 100%; position: relative; background-color: var(--card-bg-color); margin-top: 10px; + padding: 0 16px; } .channelInfo { @@ -143,3 +149,8 @@ flex-direction: column; padding-left: 1em; } + +.channelLineContainer h1, +.channelLineContainer p { + margin: 0; +} diff --git a/src/renderer/views/Channel/Channel.vue b/src/renderer/views/Channel/Channel.vue index 50765254..1d6c3195 100644 --- a/src/renderer/views/Channel/Channel.vue +++ b/src/renderer/views/Channel/Channel.vue @@ -8,17 +8,16 @@ /> - - +
+
@@ -35,19 +34,20 @@
- {{ channelName }} - - + +

{{ formattedSubCount }} {{ $t("Channel.Subscriber") }} {{ $t("Channel.Subscribers") }} - +