From 93ee81a468bcb2892b65eb6d8aa530d0b2a7c4ec Mon Sep 17 00:00:00 2001 From: syeopite Date: Mon, 29 Mar 2021 11:00:40 -0700 Subject: [PATCH] Use purecss menus for channel tabs --- src/invidious/views/channel.ecr | 48 +++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 21038394..e8af92ca 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -40,26 +40,34 @@
- <%= translate(locale, "View channel on YouTube") %> - - <% if !channel.auto_generated %> -
- <%= translate(locale, "Videos") %> -
- <% end %> -
- <% if channel.auto_generated %> - <%= translate(locale, "Playlists") %> - <% else %> - <%= translate(locale, "Playlists") %> - <% end %> -
-
- <% if channel.tabs.includes? "community" %> - <%= translate(locale, "Community") %> - <% end %> + + +
+ + <% if !channel.auto_generated %> +
  • + + <%= translate(locale, "Videos") %> + +
  • + <% end %> +
  • + <% if channel.auto_generated %> + <%= translate(locale, "Playlists") %> + <% else %> + + <%= translate(locale, "Playlists") %> + + <% end %> +
  • +
  • + <% if channel.tabs.includes? "community" %> + + <%= translate(locale, "Community") %> + + <% end %> +
  • +