From f2039d6dcf32bd964a312c8882148a3e02ac65b5 Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 24 Jun 2021 10:57:45 -0700 Subject: [PATCH] Move sorting options to separate bar --- assets/css/channel.css | 5 ++ .../views/components/channel-information.ecr | 59 +++++++++---------- 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/assets/css/channel.css b/assets/css/channel.css index 90ecd25c..6fb95c1a 100644 --- a/assets/css/channel.css +++ b/assets/css/channel.css @@ -179,3 +179,8 @@ only show up when the screen is wide enough */ .light-theme .trailer-timestamp { color: rgb(127, 127, 127); } + + +#content-navigation { + display: flex; +} \ No newline at end of file diff --git a/src/invidious/views/components/channel-information.ecr b/src/invidious/views/components/channel-information.ecr index 9759a8e7..56854668 100644 --- a/src/invidious/views/components/channel-information.ecr +++ b/src/invidious/views/components/channel-information.ecr @@ -52,8 +52,8 @@ <%= rendered "components/subscribe_widget" %> -
-
+
+
@@ -164,36 +164,33 @@
-
- - <% if content_type == 1 || content_type == 2 %> - <% route = content_type == 1 ? "/playlists" : "" %> - <% url = "/channel/#{channel.ucid + route}" %> - -
-
- -
-
- <% end %>

-
+ <% if content_type == 1 || content_type == 2 %> + <% route = content_type == 1 ? "/playlists" : "" %> + <% url = "/channel/#{channel.ucid + route}" %> + +
+ +
+ <% end %> +
+
\ No newline at end of file