From 15263201adf950c99433a5b3b443de3a3e6c9c40 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/feeds/trending.ecr | 29 ++++++++++++++------------ 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/invidious/views/feeds/trending.ecr b/src/invidious/views/feeds/trending.ecr index a35c4ee3..4032163b 100644 --- a/src/invidious/views/feeds/trending.ecr +++ b/src/invidious/views/feeds/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 %> -
    +