From 765041f1b89f60948b1cb1841ba5028d3e71e047 Mon Sep 17 00:00:00 2001 From: syeopite Date: Sun, 28 Mar 2021 02:03:29 -0700 Subject: [PATCH] Use pure-menu-horizontal for trending tabs --- src/invidious/views/trending.ecr | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/invidious/views/trending.ecr b/src/invidious/views/trending.ecr index 3ec62555d..172ecc650 100644 --- a/src/invidious/views/trending.ecr +++ b/src/invidious/views/trending.ecr @@ -11,28 +11,31 @@ <%= rendered "components/feed_menu" %> -
-
+
+ +
+ <% {"Default", "Music", "Gaming", "Movies"}.each do |option| %> -
- <% if trending_type == option %> - <%= translate(locale, option) %> - <% else %> - + <% if trending_type == option %> +
  • + + <%= translate(locale, option) %> + + <% else %> +
  • + <%= translate(locale, option) %> - <% end %> -
  • + + <% end %> <% end %> -
    +