From 2de7f588eb7185525cc8687872fed443a24fd27b Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 16 Dec 2019 00:13:31 +0100 Subject: improve likes-dislikes bar usability --- .../videos/+video-watch/video-watch.component.html | 20 +++++++++++++------- .../videos/+video-watch/video-watch.component.scss | 10 ++++++++++ 2 files changed, 23 insertions(+), 7 deletions(-) (limited to 'client/src/app/videos') diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 9e653ea78..b3def01fa 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -114,13 +114,19 @@ > -
- +
+
+
+ +
+
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index 15335b0b3..a8400c196 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -209,6 +209,7 @@ $video-info-margin-left: 44px; .video-actions-rates { margin: 0 0 10px 0; align-items: start; + align-self: end; width: max-content; .video-actions { @@ -295,6 +296,15 @@ $video-info-margin-left: 44px; } } + .video-info-likes-dislikes-bar-outerContainer { + position: relative; + } + + .video-info-likes-dislikes-bar-innerContainer { + position: absolute; + height: 30px; + } + .video-info-likes-dislikes-bar { $likes-bar-height: 2px; height: $likes-bar-height; -- cgit v1.2.3