From 3eda9b775ae700ac544e8c5588514627796b83cd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Apr 2022 10:22:56 +0200 Subject: Support interactive video stats graph --- .../app/+stats/video/video-stats.component.scss | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'client/src/app/+stats/video/video-stats.component.scss') diff --git a/client/src/app/+stats/video/video-stats.component.scss b/client/src/app/+stats/video/video-stats.component.scss index 190499b5c..e2a74152f 100644 --- a/client/src/app/+stats/video/video-stats.component.scss +++ b/client/src/app/+stats/video/video-stats.component.scss @@ -21,6 +21,7 @@ min-width: 200px; margin-right: 15px; background-color: pvar(--submenuBackgroundColor); + margin-bottom: 15px; .label, .more-info { @@ -37,6 +38,12 @@ font-size: 24px; font-weight: $font-semibold; } + + @media screen and (max-width: $mobile-view) { + min-height: fit-content; + min-width: fit-content; + padding: 15px; + } } my-embed { @@ -45,6 +52,12 @@ my-embed { width: 100%; } +@include on-small-main-col { + my-embed { + display: none; + } +} + .tab-content { margin-top: 15px; } @@ -52,3 +65,16 @@ my-embed { .nav-tabs { @include peertube-nav-tabs($border-width: 2px); } + +.chart-container { + margin-bottom: 10px; +} + +.zoom-container { + display: flex; + justify-content: center; + + .description { + font-style: italic; + } +} -- cgit v1.2.3